Merge branch 'ft-gpg_no_tty'
This commit is contained in:
commit
61d1c1c9b7
6
addhost
6
addhost
|
@ -51,7 +51,7 @@ fi
|
|||
|
||||
if [ "$cmd_do_bootstrap" = "yes" ]; then
|
||||
scp apt/cosmos_1.5-1_all.deb apt/bootstrap-cosmos.sh root@$cmd_hostname:
|
||||
ssh -t root@$cmd_hostname ./bootstrap-cosmos.sh $cmd_fqdn $rrepo $rtag
|
||||
ssh -t root@$cmd_hostname cosmos update
|
||||
ssh -t root@$cmd_hostname cosmos apply
|
||||
ssh root@$cmd_hostname ./bootstrap-cosmos.sh $cmd_fqdn $rrepo $rtag
|
||||
ssh root@$cmd_hostname cosmos update
|
||||
ssh root@$cmd_hostname cosmos apply
|
||||
fi
|
||||
|
|
|
@ -55,10 +55,10 @@ for k in $COSMOS_KEYS/*.pub; do
|
|||
|
||||
if [[ ! ${KEYRING[$fp]} ]]; then
|
||||
echo -e "$0: ${bold}Importing new key ${fp}${reset} from ${k}"
|
||||
cosmos gpg --import < $k
|
||||
cosmos gpg --no-tty --import < $k
|
||||
elif [[ ${EXPIRED[$fp]} ]]; then
|
||||
echo -e "$0: ${bold}Re-importing expired key ${fp}${reset} from ${k}"
|
||||
cosmos gpg --import < $k
|
||||
cosmos gpg --no-tty --import < $k
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue