Add FreeBSD to AutoVM
By Alireza Mahdavi | 19 March 2022 | 384 views
Download and deploy the FreeBSD template from LAB into your VCenter.
Go to the AutoVM admin area, click on “System > Settings > List Icons” and click on the create button.
On the Name field, enter: Freebsd
On the Address field, enter: http://file.autovm.net/autovm/os/freebsd.png
Click on Save and go to “Template > list templates”
Click on create button, and enter the fields like below:
Name: FreeBSD 13
Click on Save and go to “Template > List scripts”
Click on Create button and enter the input like below:
Template: FreeBSD 13
Where Is Program: /bin/sh
Where To Upload: /setup.sh
How to Execute: /setup.sh
cat >> /etc/rc.conf <<EOL ifconfig_vmx0="inet @address netmask @netmask" defaultrouter="@gateway" echo "nameserver 188.8.131.52" > /etc/resolv.conf EOL echo "@password" | pw usermod -n root -h 0 rm /setup.sh camcontrol rescan all gpart recover da0 gpart resize -i 3 da0 zpool set autoexpand=on zroot zpool online -e zroot da0p3 /etc/netstart sleep 5 /etc/netstart
Click on Save and try to install VM with FreeBSD OS.
Step 1: Enable SSH through the web client and connect to your ESXi host. Step 2: Enter the following command to enable the firewall rule for web traffic. Step 3: Run this command to see the VMware online depot and the different profiles you can upgrade from. Note: you can also change ESXi-7.0 to other versions, such as […]
Download and deploy the Windows 2022 template from LAB into your VCenter.Go to the AutoVM admin area, and go to “Template > list templates”Click on create button, and enter the fields below: Name: Windows 2022 64Username: administratorPassword: 123QWEqweClue: windows_2022_64Icon: windowsStatus: Active Click on Save and go to “Template > List scripts”Click on Create button and […]
If you want to change the default windows DNS after installation, go to Templates > Scripts in the AutoVM admin area, and edit the windows script. In the content field, add these two commands below right after the following command: new commands:
Subscription for email