[viirb] remove local password storing
This commit is contained in:
parent
8e0a6c2e56
commit
0e399af0d8
1 changed files with 0 additions and 4 deletions
|
@ -19,10 +19,6 @@ viirb_hostname=viirb${id}
|
||||||
|
|
||||||
root_password=$(pwgen -1 32)
|
root_password=$(pwgen -1 32)
|
||||||
|
|
||||||
# Save for sending to user
|
|
||||||
# FIXME: future make this more easy / better to transfer
|
|
||||||
echo $root_password > ${viirb_hostname}.rootpw
|
|
||||||
|
|
||||||
cat <<EOF | ssh -t "root@${viirb_ip}"
|
cat <<EOF | ssh -t "root@${viirb_ip}"
|
||||||
# Remove temporary IP
|
# Remove temporary IP
|
||||||
uci delete network.lanv4temp
|
uci delete network.lanv4temp
|
||||||
|
|
Loading…
Reference in a new issue