Machine/template-fedora13: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 230: | Line 230: | ||
sudo virsh start --console "new VM name" | sudo virsh start --console "new VM name" | ||
* | * edit /etc/sysconfig/network and change the hostname | ||
HOSTNAME=''newvm''.sugarlabs.org | |||
* | * Add the hostname to the sugarlabs zone file in the [[Service/Nameservers|nameservers]]. | ||
* Edit network configuration /etc/sysconfig/network-scripts/ifcfg-eth0 to update IPv4 and IPv6 addresses | |||
* Edit /etc/udeve/rules.d/XX-persistent-net.rules | * Edit /etc/udeve/rules.d/XX-persistent-net.rules | ||
Line 243: | Line 243: | ||
* Reboot the system, when it comes back up networking should work | * Reboot the system, when it comes back up networking should work | ||
* remove old ssh keys & generate new ones | |||
rm -rf /etc/ssh/ssh_host_* | |||
service sshd restart | |||
* create new key for root | |||
ssh-keygen -N "" -f /root/.ssh/id_rsa -t rsa | |||
* update /etc/system-full-backup.conf | |||
* update the motd | |||
vim /etc/motd | |||
* Add the machine to /etc/munin/munin.conf on Machine/sunjammer for monitoring. | |||
[''newvm''.sugarlabs.org] | |||
address ''newvm''.sugarlabs.org |