summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Rebischke <Chris.Rebischke@posteo.de>2017-05-08 17:13:24 +0200
committerChristian Rebischke <Chris.Rebischke@posteo.de>2017-05-08 17:13:24 +0200
commitb28a3426f492e3cd2451e1e3b71b18c21f2732bd (patch)
tree0d5e8c29ab64b177b996ec7c913e865501ed2dff
parent5332b45214942786ebdb72ded20c23491e828bf8 (diff)
downloadarch-boxes32-b28a3426f492e3cd2451e1e3b71b18c21f2732bd.tar.xz
added bootcommands for qemu
-rw-r--r--vagrant.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/vagrant.json b/vagrant.json
index bb87cd5..651387b 100644
--- a/vagrant.json
+++ b/vagrant.json
@@ -65,6 +65,11 @@
"-smp",
"{{user `cpus`}}"
]
+ ],
+ "boot_command": [
+ "<enter><wait10><wait10><wait10><wait10>",
+ "curl -O 'http://{{.HTTPIP}}:{{.HTTPPort}}/install{,-chroot}.sh'<enter><wait>",
+ "bash install.sh < install-chroot.sh && systemctl reboot<enter>"
]
}