Ubuntu Pastebin

Paste from root at Tue, 17 Oct 2017 21:42:16 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
--- bin/az-ubuntu.old	2017-10-17 21:33:50.298206825 +0000
+++ bin/az-ubuntu	2017-10-17 21:41:04.792380059 +0000
@@ -265,8 +265,7 @@
 [ -z "$image_id" ] && { image_id=${IMAGES[$image]}; rel=${image%%-*}; }
 if [ -n "$key_pubf" ]; then
    [ -f "$key_pubf" ] || fail "--key argument ($key_pubf) is not a file"
-   data=$(cat "$key_pubf")
-   pt[${#pt[@]}]="--ssh-key-value=$data"
+   pt[${#pt[@]}]="--ssh-key-value=@$key_pubf"
 fi
 
 if [ "$name" = "auto" ]; then
@@ -296,7 +295,6 @@
         "${pt[@]}" )
 
 echo "${cmd[*]}"
-exit
 #error "flavor=${flavor} image=${image} location=${location}"
 pcmd=""
 for c in "${cmd[@]}"; do
Download as text