index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-06 21:02:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 21:02:03 +0000 |
commit | 0c57871f3b3832e31c0c835a671064364c2e9575 (patch) | |
tree | 5fe159d12713f48af46d4c339b265f24d38f5858 /profiles/00:11:22:33:44:55.json | |
parent | 067b31b1aa7f0111f164dfda486adbe565d6a1a9 (diff) | |
parent | f840f9e714d9f7d2fcb601c46079978f7a20df71 (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} + } + } +} |