12 Commits

Author SHA1 Message Date
dimsijul
3ac819410a
setup: Update cloud-set-guest-password.in (#4070)
Update cloud-set-guest-password.in
Adaptation of the original script to be able to work with netplan, network manager and ifupdown.

Changes have been tested in Cloudstack V 4.13 with the following operating systems and network providers :

Ubuntu 16.04 with ifupdown (/etc/network/interfaces)
Ubuntu 18.04 with netplan
Ubuntu 20.04 with netplan
Debian 10 with ifupdown (/etc/network/interfaces)
Debian 9 with ifupdown (/etc/network/interfaces)
CentOS 8 with network manager (/etc/sysconfig/network-scripts/ifcfg-eth0)
CentOS 7 with network manager (/etc/sysconfig/network-scripts/ifcfg-eth0)
Create a new vm from template with password feature enabled and log in the vm with provided password.

Stop the vm, change the password with the feature, start the vm and log in the vm with provided password.
2020-06-16 10:14:11 +05:30
Hugo Trippaers
ae0cb82792 Both scripts should be able to use the data-server introduced in 4.4 2014-12-01 14:56:58 +01:00
Wido den Hollander
37874a3fa8 tools: Various fixes to password set script
The exit status of wget was not checked properly since it would
check the exit status of the 'echo' command.

Also fix some indentation in the script and remove whitespace
2014-05-27 12:17:45 +02:00
Rohit Yadav
6c6d036447 CLOUDSTACK-196: cloud-set-guest-password enhancement to support Debian
(and derivatives)

Synced fix on setup/bindir/cloud-set-guest-password.in too.
Note: we've duplicate files, one in tools

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-28 15:39:42 +05:30
Ilya Musayev, CloudSand.com
77ba46e322 CLOUDSTACK-321: Fixed a bug in cloud-set-guest-*.in
Fixed a bug in cloud-set-guest-sshkey.in to properly check the
SSHKEY_SERVER_IP variable
2012-10-12 01:20:15 +05:30
David Nalley
fc3ac862dc applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
alena
f40d21a80f No need to tream "return" char twice 2011-06-13 10:54:44 -07:00
keshav
e22d99f70d Removed carriage return when a password is obtained. Changed mkpasswd encryption method to use SHA-512. 2011-05-23 12:18:46 -07:00
Chandan Krishna Reddy Purushothama
3b2d4c3fb5 Additions made to the script inorder to avoid VM login using "saved_password" string 2011-03-09 15:54:18 -08:00
keshav
1be21effc9 Changed password script to work even if multiple password servers are listening for requests 2011-03-03 11:52:53 -08:00
keshav
25cd4a5768 Changed password script to work with multiple NICs. 2011-03-02 18:30:19 -08:00
alena
b4ee5fa1ea Renamed get_password_from_domr to cloud-set-guest-password 2011-02-08 17:31:54 -08:00