Skip to content

Commit

Permalink
change default for vnet_default_interface
Browse files Browse the repository at this point in the history
Change to 'none' instead of 'auto', which can have unexpected
effects on host's routing

fix freebsd#10
  • Loading branch information
dgeo committed Sep 10, 2024
1 parent 04133bd commit fefaef8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iocage_lib/ioc_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def __init__(self, location, checking_datasets, silent, callback):
@staticmethod
def get_version():
"""Sets the iocage configuration version."""
version = '32'
version = '33'

return version

Expand Down Expand Up @@ -823,9 +823,9 @@ def check_config(self, conf, default=False):
if not conf.get('allow_mlock'):
conf['allow_mlock'] = 0

# Version 13 keys
# Version 13 keys - default changed to 'none' in 33
if not conf.get('vnet_default_interface'):
conf['vnet_default_interface'] = 'auto'
conf['vnet_default_interface'] = 'none'
else:
# Catch all users migrating from old prop value of none, which
# meant auto
Expand Down

0 comments on commit fefaef8

Please sign in to comment.