Baremetal provisioning with ISO bootΒΆ
Create Teefaa config file baremetal1/Teefaafile.yml.
$ mkdir baremetal1 $ cp virtual1/Teefaafile.yml baremetal1/Teefaafile.yml $ sed -i -e 's/virtual1/baremetal1/' baremetal1/Teefaafile.yml
Create SSH config file .teefaa/ssh_config_baremetal1.
$ cp .teefaa/ssh_config_virtual1 .teefaa/ssh_config_baremetal1 $ vi .teefaa/ssh_config_baremetal1
Host baremetal1 <-- CHANGE HERE HostName <update ip address> <-- CHANGE HERE User teefaa Port 22 <-- CHANGE HERE UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile *********/.teefaa/ssh_key IdentitiesOnly yes LogLevel FATAL
Burn the livecd .teefaa/teefaa-debian-live.iso to CD-R and boot baremetal1 with CD boot.
If everything is configured fine, the snapshot should be able to install with this.
$ cd baremetal1 $ teefaa provision --no-reboot
Reboot baremetal1 from localdisk.
Login to baremetal1 with this.
$ teefaa ssh
Check if the system is the same as virtual1.
[teefaa@baremetal1 ~]$ which screen /usr/bin/screen [teefaa@baremetal1 ~]$ cat text.txt Hello World!