Install Guide
RHEL 7
Remove MAC Address from the interface configuration file. For example,
sed -i "/^HWADDR/d" /etc/sysconfig/network-scripts/ifcfg-ens192
NOTE: Interface naming on RHEL 7 VM depends on the various factors provided at https://
access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/
Networking_Guide/ch-Consistent_Network_Device_Naming.html#sec-
Naming_Schemes_Hierarchy
Debian/Ubuntu:
rm /lib/udev/rules.d/75-persistent-net-generator.rules
6. Configure cronjob to execute the puppet_certname.sh script and restart or start the puppet service.
Type the following commands:
crontab –e
a. Add the following line to this file and then save and exit the file.
@reboot /usr/local/bin/puppet_certname.sh; /etc/init.d/puppet restart
RHEL 7
@reboot /usr/local/bin/puppet_certname.sh
b. Run the following command, and ensure that you see the above line, to verify the crontab is
updated as expected or not,
crontab -l
7. After completing customization, turn off the virtual machine. To create a virtual machine template,
follow the appropriate steps for virtualization environment.
NOTE: After preparing the base virtual machine, in case the virtual machine is restarted, the
puppet verification file will need to be deleted from system. This file can be found in Windows
at C:\ProgramData\puppet_verification_run.txt or in Linux at /var/lib/
puppet_verification_run.txt.
Customizing Windows Template
Perform the following task to customize Windows template.
1. Make sure all instructions have been completed for VMware or Hyper-V virtual machines as noted in
the previous section.
a. Install VMware tools (VMware only)
b. Install puppet agent and ensure it is configured to run on startup
c. Make sure ASM appliance and virtual machine time are synchronized by NTP.
d. Make sure DNS is configured for “dellasm” to resolve.
e. Make sure puppet.conf file has updated configuration to point to “dellasm” as server
2. Copy puppet certname scripts puppet_certname.bat and puppet_certname.rb to the virtual
machine.
a. You can find the puppet certificate name scripts for Windows (puppet_certname.bat and
ppet_certname.rb) in /opt/asm-deployer/scripts on ASM appliance. You can move these files
to /var/lib/razor/repo-store. The ASM appliance location /var/lib/razor/repo-store is a share that
can be mounted to your virtual machine if the virtual machine has network connectivity to the
ASM appliance.
39