Browse Source

new: [vps-install backup] add a warning about vps unexpected failure upon identifying vps type

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
rc1
Valentin Lab 3 years ago
parent
commit
d0ed50abd9
  1. 6
      bin/0km

6
bin/0km

@ -644,9 +644,11 @@ vps_backup_recover() {
return 1
}
type=$(ssh:run "root@$vps" -- vps get-type) && {
if type=$(ssh:run "root@$vps" -- vps get-type); then
info "VPS $vps seems to be of ${WHITE}$type${NORMAL} type"
}
else
warn "Couldn't find type of vps '$vps' (command 'vps get-type' failed on vps)."
fi
if [ -z "$path" ]; then
if [ -n "$vps_path" ]; then

Loading…
Cancel
Save