Skip to content

Commit

Permalink
Improvement in virtualbox box validation
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bordon committed May 7, 2024
1 parent 26f16ce commit b43a25b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deployability/modules/allocation/vagrant/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ def __render_vagrantfile(cls, config: VagrantConfig) -> str:
environment = Environment(loader=FileSystemLoader(cls.TEMPLATES_DIR))
if config.platform == 'macos':
if config.arch == 'amd64':
if config.box != 'development/macos-high-sierra' and config.box != 'development/macos-mojave' and config.box != 'development/macos-sierra' and config.box != 'development/macos-sierra_cmake' and config.box != 'development/macos-sierra_gcc9':
virtualbox_boxes = ['development/macos-high-sierra', 'development/macos-mojave', 'development/macos-sierra', 'development/macos-sierra_cmake', 'development/macos-sierra_gcc9']
if config.box not in virtualbox_boxes:
template = environment.get_template("vagrant_parallels_intel.j2")
else:
template = environment.get_template("vagrant_Virtual_box.j2")
Expand Down

0 comments on commit b43a25b

Please sign in to comment.