Added support for SuSE #4

Merged
theissenm merged 1 commits from suse_prov into master 4 years ago
Owner

Successful output:

root@tmplt-suse:~ # ./provision_new_server.sh
Enter new host information.
Hostname [tmplt-suse.skyfall.work]: shq-susetest.skyfall.work
IP address (CIDR format) [172.23.2.6/16]: 172.23.1.142/16

Review these changes carefully!

+          CURRENT                  PENDING
Hostname:  tmplt-suse.skyfall.work  shq-susetest.skyfall.work
Address:   172.23.2.6               172.23.1.142
CIDR:      172.23.2.6/16            172.23.1.142/16

Are you sure you want to apply the changes above? (y/N)y
 Continuing...

Update hostname... DONE
Update /etc/hosts... DONE
Update Zabbix Agent... DONE
Update IP address... OpenSuSE... DONE
Found old keys. Removing... DONE
Regenerating host keys... DONE
Removing this script from /root... DONE
  (This script can still be found in /opt/prov/bin)

Reboot to apply all changes.

Would you like to reboot now? (y/N)y
 Rebooting...

Connection to 172.23.2.6 closed by remote host.
Connection to 172.23.2.6 closed.

Verified afterward via guest additions info in ProxMox.

Successful output: ``` root@tmplt-suse:~ # ./provision_new_server.sh Enter new host information. Hostname [tmplt-suse.skyfall.work]: shq-susetest.skyfall.work IP address (CIDR format) [172.23.2.6/16]: 172.23.1.142/16 Review these changes carefully! + CURRENT PENDING Hostname: tmplt-suse.skyfall.work shq-susetest.skyfall.work Address: 172.23.2.6 172.23.1.142 CIDR: 172.23.2.6/16 172.23.1.142/16 Are you sure you want to apply the changes above? (y/N)y Continuing... Update hostname... DONE Update /etc/hosts... DONE Update Zabbix Agent... DONE Update IP address... OpenSuSE... DONE Found old keys. Removing... DONE Regenerating host keys... DONE Removing this script from /root... DONE (This script can still be found in /opt/prov/bin) Reboot to apply all changes. Would you like to reboot now? (y/N)y Rebooting... Connection to 172.23.2.6 closed by remote host. Connection to 172.23.2.6 closed. ``` Verified afterward via guest additions info in ProxMox.
theissenm was assigned by ajohnson 4 years ago
ajohnson added 1 commit 4 years ago
theissenm approved these changes 4 years ago
theissenm left a comment
Owner

looksgood!

looksgood!
theissenm merged commit ff3d1190c6 into master 4 years ago
theissenm deleted branch suse_prov 4 years ago

Reviewers

theissenm approved these changes 4 years ago
The pull request has been merged as ff3d1190c6.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: skyfall/internal-scripts#4
Loading…
There is no content yet.