summaryrefslogtreecommitdiffstats
path: root/ci/onos/cloud-sh-onos/cloud-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/onos/cloud-sh-onos/cloud-setup.sh')
-rw-r--r--ci/onos/cloud-sh-onos/cloud-setup.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/onos/cloud-sh-onos/cloud-setup.sh b/ci/onos/cloud-sh-onos/cloud-setup.sh
new file mode 100644
index 00000000..2a0bc2a7
--- /dev/null
+++ b/ci/onos/cloud-sh-onos/cloud-setup.sh
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+. ~/admin-openrc
+
+# adjust tiny image
+nova flavor-delete m1.tiny
+nova flavor-create m1.tiny 1 512 8 1
+
+# import key pair
+nova keypair-add --pub-key id_rsa.pub ubuntu-keypair