Setup Guide

6. Execute the following commands to extract the .iso file from the directory /var/lib/razor/repo-store
to the directory /var/lib/razor/repo-store/win2012. Make sure that your Windows .iso fileis available
in “repo-store” directory where you run the following commands.
"mount -o loop en_windows_server_2012_x64_dvd_915478.iso /mnt"
"rsync -av /mnt/ win2012"
"/umount/mnt”
7. Rename the WinPE image file that you created to razor-winpe.wim, and then copy the file to the
directory
win2012.
8. Make sure that the right privileges are granted to the repository files.
"find win2012 -print0 | xargs -0 chown razor:razor"
9. Edit the unattended.xml.erb file available in the following directory /opt/razor-server/installers/
windows/8-pro
, and then enter the Windows license key where the license is saved in the
unattend.xml file. Windows license keys are not included with ASM and must be obtained from the
vendor.
Deploying WinPE on the Virtual Appliance Razor
Before creating the WinPE image, perform the following tasks:
1. Extract the files from the following location:
https://github.com/puppetlabs/razor-server/tree/master/build-winpe
2. In the razor-client.ps1 file, replace ${server} with the IP address of your ASM appliance in the
following code:
$baseurl = http://${server}:8080/svc
3. To deploy WinPE using an image file, complete the tasks given in the link here:
https://github.com/puppetlabs/razor-server/wiki/Installing-windows
NOTE: If you have issue accessing the links, check if your browser is supported by GitHub.
18