2014년 12월 1일 월요일

Clean up (remove MAC address when you generate a snapshot image from virtual machine)

Reference : http://docs.openstack.org/image-guide/content/ubuntu-image.html

Clean up (remove MAC address details)

The operating system records the MAC address of the virtual Ethernet card in locations such as /etc/udev/rules.d/70-persistent-net.rules during the instance process. However, each time the image boots up, the virtual Ethernet card will have a different MAC address, so this information must be deleted from the configuration file.
There is a utility called virt-sysprep, that performs various cleanup tasks such as removing the MAC address references. It will clean up a virtual machine image in place:
# virt-sysprep -d trusty

댓글 없음:

댓글 쓰기