To resolve the issue, create a symbolic link from /etc/dhcp3 to /etc/dhcp or create a /etc/dhcp3 directory if it does not exist.
To create a symbolic link from /etc/dhcp3 to /etc/dhcp:
Caution: Ensure the symbolic link is created between /etc/dhcp3 to /etc/dhcp only.
- Convert the template to a virtual machine. Power on the virtual machine if necessary.
- Log in to the virtual machine with root privileges.
- Create a symbolic link from /etc/dhcp3 to /etc/dhcp using the command:
ln -s /etc/dhcp /etc/dhcp3
<LN dhcp3<br="" etc="" dhcp="" -s=""></LN> - Convert the virtual machine back to a template and deploy a virtual machine with guest customization.
To manually create a /etc/dhcp3 directory if it does not exist:
- Convert the template to a virtual machine. Power on the virtual machine if necessary.
- Log in to the virtual machine with root privileges.
- Create the /etc/dhcp3 directory manually. For more information, see Common Linux-based operating system operations (1022050).
Note: You can use a package such as whereami to create the directory. To install whereami, use the command:
sudo apt-get install whereami
For more information, see the Ubuntu Man Pages.
- Convert the virtual machine back to a template and deploy a virtual machine with guest customization.