summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Clausen <jac@nordu.net>2018-09-03 12:55:48 +0200
committerJon Clausen <jac@nordu.net>2018-09-03 12:55:48 +0200
commit3ee41c110161c54958a415abb5be7f814a6985dd (patch)
tree242416463e8f12da0da14911e57ed4af5bfb0219
parenta7e6ecc31357d0c5e0b8a2ba68794187825136a3 (diff)
download and run cosmos-bootstrap from /tmp/ instead of /bin/
-rw-r--r--ks-template/hw/dell/R7425/100g-dtn.ks6
-rw-r--r--ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks6
2 files changed, 6 insertions, 6 deletions
diff --git a/ks-template/hw/dell/R7425/100g-dtn.ks b/ks-template/hw/dell/R7425/100g-dtn.ks
index ed79763..8757353 100644
--- a/ks-template/hw/dell/R7425/100g-dtn.ks
+++ b/ks-template/hw/dell/R7425/100g-dtn.ks
@@ -84,9 +84,9 @@ elif [ "${CosmosHash}" = "disabled" ]
then
echo "cosmos bootstrap disabled on kernel cmdline"
else
- curl -o /bin/cosmos-bootstrap "https://git.nordu.net/?p=ndn-iaas.git;a=blob_plain;f=bootstrap/cosmos-bootstrap;hb=HEAD"
- chmod +x /bin/cosmos-bootstrap
- /bin/cosmos-bootstrap "http://gitproxy.nordu.net/ndn-sysconf.git" ${CosmosHash} COSMOSTAG
+ curl -o /tmp/cosmos-bootstrap "https://git.nordu.net/?p=ndn-iaas.git;a=blob_plain;f=bootstrap/cosmos-bootstrap;hb=HEAD"
+ chmod +x /tmp/cosmos-bootstrap
+ /tmp/cosmos-bootstrap "http://gitproxy.nordu.net/ndn-sysconf.git" ${CosmosHash} COSMOSTAG
fi
# return to the first vt
diff --git a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
index 773b064..da4eecf 100644
--- a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
+++ b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
@@ -80,9 +80,9 @@ elif [ "${CosmosHash}" = "disabled" ]
then
echo "cosmos bootstrap disabled on kernel cmdline"
else
- curl -o /bin/cosmos-bootstrap "https://git.nordu.net/?p=ndn-iaas.git;a=blob_plain;f=bootstrap/cosmos-bootstrap;hb=HEAD"
- chmod +x /bin/cosmos-bootstrap
- /bin/cosmos-bootstrap "http://gitproxy.nordu.net/ndn-sysconf.git" ${CosmosHash} COSMOSTAG
+ curl -o /tmp/cosmos-bootstrap "https://git.nordu.net/?p=ndn-iaas.git;a=blob_plain;f=bootstrap/cosmos-bootstrap;hb=HEAD"
+ chmod +x /tmp/cosmos-bootstrap
+ /tmp/cosmos-bootstrap "http://gitproxy.nordu.net/ndn-sysconf.git" ${CosmosHash} COSMOSTAG
fi
# return to the first vt
#chvt 1