Login

AUTOVM Blog > Update > Add FreeBSD to…

Add FreeBSD to AutoVM

By Alireza Mahdavi | 19 March 2022 | 384 views

Add FreeBSD to AutoVM

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
Username: root
Password: 123QWEqwe
Clue: freebsd_13
Icon: FreeBSD
Status: Active

Click on Save and go to “Template > List scripts”
Click on Create button and enter the input like below:

Name: FreeBSD
Template: FreeBSD 13
Type: Setup
Where Is Program: /bin/sh
Where To Upload: /setup.sh
How to Execute: /setup.sh
Status: Active
Content:

cat >> /etc/rc.conf <<EOL
ifconfig_vmx0="inet @address netmask @netmask"
defaultrouter="@gateway"
echo "nameserver 4.2.2.4" > /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.

Related Blogs

How to upgrade ESXi through CLI

How to upgrade ESXi through CLI

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 […]

Add Windows server 2022 to AutoVM

Add Windows server 2022 to AutoVM

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 […]

Change windows template DNS

Change windows template DNS

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

Future-proof your business by moving to AutoVM

Need help?