index : arch-boxes32 | |
Archlinux32 virtual machines - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | provision/qemu.sh | 7 | ||||
-rw-r--r-- | vagrant.json | 13 |
diff --git a/provision/qemu.sh b/provision/qemu.sh new file mode 100644 index 0000000..aa36e03 --- /dev/null +++ b/provision/qemu.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +set -e +set -x + +sudo pacman -S --noconfirm linux-headers +sudo pacman -S --noconfirm qemu-guest-agent diff --git a/vagrant.json b/vagrant.json index 406b07a..b5193e6 100644 --- a/vagrant.json +++ b/vagrant.json @@ -77,7 +77,18 @@ "provision/virtualbox.sh", "provision/cleanup.sh" ], - "execute_command": "echo 'vagrant'|sudo -S sh '{{.Path}}'" + "execute_command": "echo 'vagrant'|sudo -S sh '{{.Path}}'", + "only": ["virtualbox-iso"] + }, + { + "type": "shell", + "scripts": [ + "provision/postinstall.sh", + "provision/qemu.sh", + "provision/cleanup.sh" + ], + "execute_command": "echo 'vagrant'|sudo -S sh '{{.Path}}'", + "only": ["qemu"] } ], "post-processors": [ |