summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorNauman Ahad <Nauman_Ahad@dell.com>2015-08-14 14:30:41 -0700
committerNauman Ahad <Nauman_Ahad@dell.com>2015-08-14 14:30:41 -0700
commit12b2b2c38e01a00c07c09b924a5b62f8ddc74145 (patch)
tree37ee93a9c36f6aac8e6b12e5e9111af7c99be30d /data
parentbe6d041ae8279f7a8e6de4153217108a7b383637 (diff)
Added automation script, 2 test cases, Heat template for test case, Project INFO files
Structured existing playbooks into directories, added automations scripts and test cases which were demonstrated in demo1. Basic Directoy structure also introduced. All hard coded values removed. JIRA: QTIP-3 Change-Id: Icdceb0f125a5275d3dee7845a403e567d729dc26 Signed-off-by: Nauman Ahad <Nauman_Ahad@dell.com>
Diffstat (limited to 'data')
-rwxr-xr-xdata/ssh_exch.exp12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/ssh_exch.exp b/data/ssh_exch.exp
new file mode 100755
index 00000000..1b462c42
--- /dev/null
+++ b/data/ssh_exch.exp
@@ -0,0 +1,12 @@
+#1 /usr/bin/expect
+set timeout 4
+set ip [lindex $argv 0]
+set pswd [lindex $argv 1]
+spawn ssh-copy-id -i /root/.ssh/id_rsa $ip
+expect "Are you sure you want to continue connecting" {send "yes\r"}
+expect "password" { send "$pswd\r"}
+
+interact
+
+
+