This is more when you want to create an AMI from an EC2 image and you want it to have a persistent hostname. This was
Tag: aws
Ensure DNS Nameservers are correct on EC2 startup
vim /etc/sysconfig/network-scripts/ifcfg-eth0 add PEERDNS=no sudo vim /etc/resolv.conf make sure this file is as you want it and then make a copy sudo cp resolv.conf resolv.conf.bk
Converting and Importing a Virtual Box VM into a AWS EC2 AMI
Sometimes we need to release our local Virtual Machines (VMs) into the cloud here’s how: First we need to add some confirguration to the local