++viwib2/no pw
This commit is contained in:
parent
5eb3a5d1fe
commit
517ca06b53
1 changed files with 0 additions and 6 deletions
|
@ -42,9 +42,6 @@ if [ $? -ne 0 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
root_password=$(pwgen -1 32)
|
||||
echo $root_password > ${viwib_hostname}.rootpw
|
||||
|
||||
|
||||
cat <<EOF | ssh -t "root@${viwib_ip}"
|
||||
set -x
|
||||
|
@ -184,7 +181,6 @@ reboot
|
|||
EOF
|
||||
|
||||
echo "Wireguard public key and id: ${id} ${public_key}"
|
||||
echo "Root password: ${root_password}"
|
||||
echo ${public_key} > ${viwib_hostname}.public_key
|
||||
|
||||
# change to ipv6
|
||||
|
@ -198,5 +194,3 @@ while ! ping -c5 ${viwib_ip}; do
|
|||
done
|
||||
|
||||
echo "Wireguard public key and id: ${id} ${public_key}"
|
||||
echo "Root password: ${root_password}"
|
||||
echo ${public_key} > ${viwib_hostname}.public_key
|
||||
|
|
Loading…
Reference in a new issue