Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/deployments/00_11_22_33_44_55.json
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2018-05-24 20:30:46 +0200
committerGitHub <noreply@github.com>2018-05-24 20:30:46 +0200
commitf85301544827b20a2ba206092affd3da379842a1 (patch)
tree7f2dc83a9af0fa53085538ffb1210fa5840047c8 /deployments/00_11_22_33_44_55.json
parent4031af07597002747ae344dd3e8594520688f4e9 (diff)
parent30010a418a0338ba3f513028794552469a9dae11 (diff)
Merge pull request #3 from Torxed/net-deploy
Network deployment features added.
Diffstat (limited to 'deployments/00_11_22_33_44_55.json')
-rw-r--r--deployments/00_11_22_33_44_55.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/deployments/00_11_22_33_44_55.json b/deployments/00_11_22_33_44_55.json
new file mode 100644
index 00000000..5526629e
--- /dev/null
+++ b/deployments/00_11_22_33_44_55.json
@@ -0,0 +1,20 @@
+{
+ "args" : {
+ "include" : "workstation",
+ "user" : "anton",
+ "password" : "1111",
+ "drive" : "/dev/sdb",
+ "post" : "don't reboot"
+ },
+ "post" : {
+ "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}
+ },
+ "Setup user" : {
+ "useradd -m -G wheel -s /bin/bash anton" : null,
+ "sh -c \"echo {user}:{password} | chpasswd\"" : {"pass-args" : true}
+ }
+ }
+}