@@ -12,7 +12,7 @@ Vagrant.configure("2") do |config|
1212 end
1313
1414 config . vm . provider :virtualbox do |vb , override |
15- vb . customize [ "modifyvm" , :id , "--memory" , "2048 " ]
15+ vb . customize [ "modifyvm" , :id , "--memory" , "4096 " ]
1616 # Fix docker not being able to resolve private registry in VirtualBox
1717 vb . customize [ "modifyvm" , :id , "--natdnshostresolver1" , "on" ]
1818 vb . customize [ "modifyvm" , :id , "--natdnsproxy1" , "on" ]
@@ -38,6 +38,9 @@ Vagrant.configure("2") do |config|
3838 # workaround missing /etc/environment
3939 config . vm . provision :shell , :inline => "touch /etc/environment" , :privileged => true
4040
41+ # disable update-engine to prevent reboots
42+ config . vm . provision :shell , :inline => "systemctl disable update-engine && systemctl mask update-engine" , :privileged => true
43+
4144 # user-data bootstrapping
4245 config . vm . provision :file , :source => "contrib/coreos/user-data" , :destination => "/tmp/user-data"
4346 config . vm . provision :shell , :inline => "mkdir -p /var/lib/coreos-vagrant && mv /tmp/user-data /var/lib/coreos-vagrant" , :privileged => true
0 commit comments