Skip to content

Commit

Permalink
Merge pull request #27 from criecm/fix_vnet_default
Browse files Browse the repository at this point in the history
change default for vnet_default_interface
  • Loading branch information
dgeo authored Sep 10, 2024
2 parents 1d11245 + fefaef8 commit 6f0eaf1
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 6f0eaf1

Please sign in to comment.