index : arch-boxes32 | |
Archlinux32 virtual machines - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Christian Rebischke <Chris.Rebischke@posteo.de> | 2017-05-07 22:08:53 +0200 |
---|---|---|
committer | Christian Rebischke <Chris.Rebischke@posteo.de> | 2017-05-07 22:08:53 +0200 |
commit | db6d7144c7659ee919f72703e84d65c64decbb48 (patch) | |
tree | b3bb0a5a1a72ef5fe10bc9ea48a7aa84b1cbb824 | |
parent | 037d8a6503066059b50b45a9ce6a4417b7e753e6 (diff) |
-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": [ |