File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def call(env)
17
17
region = ask "Enter your default region (optional, defaults to nyc1):"
18
18
image = ask "Enter your default image ID or image slug (optional, defaults to ubuntu-14-04-x64):"
19
19
size = ask "Enter your default size (optional, defaults to 512mb)):"
20
- ssh_key = ask "Enter your default ssh key IDs (optional, defaults to none, comma separated string ):"
20
+ ssh_key = ask "Enter your default ssh key IDs (optional, defaults to none, array of IDs of ssh keys eg. ['1234'] ):"
21
21
private_networking = ask "Enter your default for private networking (optional, defaults to false):"
22
22
backups_enabled = ask "Enter your default for enabling backups (optional, defaults to false):"
23
23
ip6 = ask "Enter your default for IPv6 (optional, defaults to false):"
Original file line number Diff line number Diff line change 30
30
expect ( $stdin) . to receive ( :gets ) . and_return ( image )
31
31
expect ( $stdout) . to receive ( :print ) . with ( "Enter your default size (optional, defaults to 512mb)): " )
32
32
expect ( $stdin) . to receive ( :gets ) . and_return ( size )
33
- expect ( $stdout) . to receive ( :print ) . with ( "Enter your default ssh key IDs (optional, defaults to none, comma separated string ): " )
33
+ expect ( $stdout) . to receive ( :print ) . with ( "Enter your default ssh key IDs (optional, defaults to none, array of IDs of ssh keys eg. ['1234'] ): " )
34
34
expect ( $stdin) . to receive ( :gets ) . and_return ( ssh_key_id )
35
35
expect ( $stdout) . to receive ( :print ) . with ( "Enter your default for private networking (optional, defaults to false): " )
36
36
expect ( $stdin) . to receive ( :gets ) . and_return ( private_networking )
79
79
expect ( $stdin) . to receive ( :gets ) . and_return ( '' )
80
80
expect ( $stdout) . to receive ( :print ) . with ( "Enter your default size (optional, defaults to 512mb)): " )
81
81
expect ( $stdin) . to receive ( :gets ) . and_return ( '' )
82
- expect ( $stdout) . to receive ( :print ) . with ( "Enter your default ssh key IDs (optional, defaults to none, comma separated string ): " )
82
+ expect ( $stdout) . to receive ( :print ) . with ( "Enter your default ssh key IDs (optional, defaults to none, array of IDs of ssh keys eg. ['1234'] ): " )
83
83
expect ( $stdin) . to receive ( :gets ) . and_return ( '' )
84
84
expect ( $stdout) . to receive ( :print ) . with ( "Enter your default for private networking (optional, defaults to false): " )
85
85
expect ( $stdin) . to receive ( :gets ) . and_return ( '' )
You can’t perform that action at this time.
0 commit comments