index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-06 22:23:29 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-06 22:23:29 +0200 |
commit | d723dcf0d7c64f686fc6234a7da9649346d1f56f (patch) | |
tree | 36dceb8cd0dcb2d71294cf0d2bec8d76bee86756 /profiles/00:11:22:33:44:55.json | |
parent | 4167946d815f2ab9c6ebf0c597f3b5f5f9723b1e (diff) |
-rw-r--r-- | profiles/00:11:22:33:44:55.json | 19 |
diff --git a/profiles/00:11:22:33:44:55.json b/profiles/00:11:22:33:44:55.json new file mode 100644 index 00000000..909b4256 --- /dev/null +++ b/profiles/00:11:22:33:44:55.json @@ -0,0 +1,19 @@ +{ + "args" : { + "include" : "workstation", + "user" : "anton", + "password" : "1111", + "post" : "don't reboot" + }, + "post" : { + "Setup user" : { + "useradd -m -G wheel -s /bin/bash anton" : null, + "sh -c \"echo {user}:{password} | chpasswd\"" : {"pass-args" : true} + }, + "Setup a basic virtual environment": { + "mkdir -p /home/{user}/virts" : {"pass-args" : true}, + "qemu-img create -f qcow2 /home/{user}/virts/test_deploy.qcow2 4G" : {"pass-args" : true}, + "chown -R {user}.{user} /home/{user}/virts" : {"pass-args" : true} + } + } +} |