Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaybent <55739788+jaybent@users.noreply.github.com>2019-11-22 14:55:53 +0100
committerGitHub <noreply@github.com>2019-11-22 14:55:53 +0100
commit273c7d3402663c78f40ee361fe1de2eefa0bed98 (patch)
treedcd7647c078990310c3f63f6488343167ec327e2
parente9484e4adb24f846cd930e12a4acc4e4b0f58df5 (diff)
Create vmhost.json
basic template for a barebone vmhost with i3
-rw-r--r--vmhost.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/vmhost.json b/vmhost.json
new file mode 100644
index 00000000..0b2dabec
--- /dev/null
+++ b/vmhost.json
@@ -0,0 +1,26 @@
+{
+ "args" : {
+ "password" : "<STDIN>",
+ "_keyboard_layout" : "us",
+ "_editor" : "vim",
+ "_window_manager" : "i3",
+ "_window_manager_dependencies" : "xorg-server xorg-xrandr xorg-xinit xterm",
+ "_window_manager_utilities" : "slock xscreensaver terminus-font-otb gnu-free-fonts ttf-liberation xsel",
+ "_virtulization" : "qemu ovmf",
+ "_utils" : "git htop dhclient curl",
+ "post" : "don't reboot"
+ },
+ "post" : {
+ "Install workstation packages": {
+ "pacman -Syy --noconfirm {_editor} {_utils} {_window_manager} {_window_manager_dependencies} {_window_manager_utilities} {_virtulization}" : {"pass-args" : true}
+ },
+ "Setup virtulization" : {
+ "sh -c \"Description=\\\"Bridge for virtual machines\\\"\nInterface=br0\nConnection=bridge\nBindsToInterfaces=(eno1)\nIP=no\nExecUpPost=\\\"ip link set dev br0 address $(cat /sys/class/net/eno1/address); IP=dhcp; ip_set\\\"\nExecDownPre=\\\"IP=dhcp\\\"\n\n## Ignore (R)STP and immediately activate the bridge\nSkipForwardingDelay=yes\"" : null
+ },
+ "Setup localization" : {
+ "sh -c \"echo 'setxkbmap us' >> /etc/X11/xinit/xinitrc\"" : null,
+ "sh -c \"echo 'KEYMAP={_keyboard_layout}\nFONT=lat9w-16' >> /etc/vconsole.conf\"" : {"pass-args" : true}
+ },
+ "Configure desktop environment" : "i3"
+ }
+}