File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
oracle-linux-image-tools/cloud/vagrant-virtualbox Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -129,8 +129,13 @@ cloud::image_package() {
129
129
Vagrant::Config.run do |config|
130
130
# This Vagrantfile is auto-generated to contain the MAC address of the box.
131
131
# Custom configuration should be placed in the actual \` Vagrantfile\` in this box.
132
- config.vm.base_mac = "080027D25971 "
132
+ config.vm.base_mac = "080027 $( openssl rand -hex 3 | tr ' [:lower:] ' ' [:upper:] ' ) "
133
133
end
134
+
135
+ # Load include vagrant file if it exists after the auto-generated
136
+ # so it can override any of the settings
137
+ include_vagrantfile = File.expand_path("../include/_Vagrantfile", __FILE__)
138
+ load include_vagrantfile if File.exist?(include_vagrantfile)
134
139
EOF
135
140
136
141
if [[ " ${ORACLE_RELEASE} " =~ ^[89]$ ]]; then
You can’t perform that action at this time.
0 commit comments