summaryrefslogtreecommitdiffstats
path: root/ci/odl/cloud-sh-odl/cloud-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/odl/cloud-sh-odl/cloud-setup.sh')
-rwxr-xr-xci/odl/cloud-sh-odl/cloud-setup.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/odl/cloud-sh-odl/cloud-setup.sh b/ci/odl/cloud-sh-odl/cloud-setup.sh
new file mode 100755
index 00000000..2a0bc2a7
--- /dev/null
+++ b/ci/odl/cloud-sh-odl/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