Supporting documentation and files.
You will need either Libvirt or VirtualBox installed to provision the Atomic virtual machines needed for this lab.
As root grab the Atomic qcow image make three copies of in the libvirt images directory
su -
cd /tmp
wget http://10.32.244.206/images/rhel-atomic-cloud-7.1-1.x86_64.qcow2
cp rhel-atomic-cloud-7.1-1.x86_64.qcow2 /var/lib/libvirt/images/rhel-atomic-cloud-7.1-1.x86_64-00.qcow2
cp rhel-atomic-cloud-7.1-1.x86_64.qcow2 /var/lib/libvirt/images/rhel-atomic-cloud-7.1-1.x86_64-01.qcow2
cp rhel-atomic-cloud-7.1-1.x86_64.qcow2 /var/lib/libvirt/images/rhel-atomic-cloud-7.1-1.x86_64-02.qcow2
cd -
# Copy over iso from the libvirt directory of this repo
cp ./libvirt/atomic0-cidata.iso /var/lib/libvirt/images/
# Correct the permissions
chown -R qemu:qemu /var/lib/libvirt/images/
# Clean up the original file if you want
rm -f /tmp/rhel-atomic-cloud-7.1-1.x86_64.qcow2
Configure add the images via virtmanager and add the iso a cd rom via add hardware
Once you have booted your atomic vm login with:
username: cloud-user password: atomic
# Become root
sudo -i
# Register your host with rhn (you will need you subscription username and password)
subscription-manager register
# Attach the host
subscription-manager attach --auto
# Use these discovery commands if you have issues registering your host.
subscription-manager list
subscription-manager list --available
# Edit the docker settings to allow insecure access to insecure registers
/etc/sysconfig/docker
ADD_REGISTRY='--add-registry registry.access.redhat.com --add-registry 10.32.244
INSECURE_REGISTRY='--insecure-registry 10.32.244.206:5000'
# Reboot the system
systemctl reboot
You will need to login back into the host and update the system
# Upgrade the host
atomic host upgrade