반응형
Sealing a Linux Template
Templates that have been created for Linux virtual machines must be generalized (sealed) before use. This section describes how to seal a template before use. This ensures that machine-specific settings are not propagated through the template.
- Login to the virtual machine to be used as a template and flag the system for re-configuration by running the following command as root:
# touch /.unconfigured
- Remove ssh host keys. Run:
# rm -rf /etc/ssh/ssh_host_*
- Shut down the virtual machine. Run:
# poweroff
The Linux virtual machine has now been sealed, and can be used as a template for Linux virtual machines.
위의 방법대로 템플릿을 만들면 새로 VM구성시 네트웍등의 구성을 새로 할 수 있음
출처는 레드햇 홈페이지.
반응형
'Linux' 카테고리의 다른 글
Linux template 만들때 준비과정 (like sysprep) (0) | 2015.06.16 |
---|---|
[Linux] eth NIC 포트번호 변경 (0) | 2015.05.13 |
RHEL kernel panic not syncing pid1 (0) | 2015.04.09 |
[Linux] ethtool을 이용한 네트워크카드(NIC)정보 확인 (0) | 2015.02.28 |
[Linux] PCI 정보 확인 (0) | 2015.02.28 |