summaryrefslogtreecommitdiff
path: root/global/overlay/usr/local/sbin
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-07-28 15:14:03 +0200
committerLinus Nordberg <linus@nordu.net>2017-07-28 15:14:03 +0200
commit4223da5ae4d440774e350a8489b7d4bd0fe38c11 (patch)
treeabf75b36f7b066f8dcf674fc8decb473c1585d15 /global/overlay/usr/local/sbin
parent883c92a407ad1db7925eec9bab483b06d12aa5a7 (diff)
Update from sunet/multiverse.ct-ops-2017-07-28-v01
Diffstat (limited to 'global/overlay/usr/local/sbin')
-rwxr-xr-xglobal/overlay/usr/local/sbin/cosmos_vm8
1 files changed, 4 insertions, 4 deletions
diff --git a/global/overlay/usr/local/sbin/cosmos_vm b/global/overlay/usr/local/sbin/cosmos_vm
index bf27576..5eec8f7 100755
--- a/global/overlay/usr/local/sbin/cosmos_vm
+++ b/global/overlay/usr/local/sbin/cosmos_vm
@@ -9,8 +9,8 @@ hostname="default"
bridge="br0"
cpus="1"
mem="1024"
-repo="git://code.mnt.se/mnt-cosmos.git"
-tag="eduid-cosmos"
+repo="https://yourhost/myproj-cosmos.git"
+tag="cosmos-ops"
ip=""
gateway=""
netmask=""
@@ -63,7 +63,7 @@ ssh_authorized_keys:
runcmd:
- ["mkdir","/tmp/seed"]
- ["mount","/dev/vdb","/tmp/seed"]
- - ["cp","/tmp/seed/bootstrap-cosmos.sh","/tmp/seed/cosmos_1.2-2_all.deb","/root"]
+ - ["cp","/tmp/seed/bootstrap-cosmos.sh","/tmp/seed/cosmos_1.5-1_all.deb","/root"]
- ["cd","/root"]
- "cd /root && /root/bootstrap-cosmos.sh ${hostname} ${repo} ${tag}"
@@ -112,7 +112,7 @@ fi
mcopy -i ${seed} ${user_data} ::user-data 2>/dev/null
mcopy -i ${seed} ${meta_data} ::meta-data 2>/dev/null
-mcopy -i ${seed} /etc/cosmos/apt/bootstrap-cosmos.sh /etc/cosmos/apt/cosmos_1.2-2_all.deb ::
+mcopy -i ${seed} /etc/cosmos/apt/bootstrap-cosmos.sh /etc/cosmos/apt/cosmos_1.5-1_all.deb ::
mv ${seed} /var/lib/libvirt/images/
virsh pool-refresh default