Login

AUTOVM Blog > Update > Add FreeBSD to…

Add FreeBSD to AutoVM

By Alireza Mahdavi | 19 March 2022 | 1174 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

RockyLinux 9.1 is available

AlmaLinux version 9.1 has been released for the AutoVM platform. Download and deploy OVA templates into your servers through this address. Then go to […]

AlmaLinux 9.1 is available

AlmaLinux version 9.1 has been released for the AutoVM platform. Download and deploy OVA templates into your servers through this address. Then go to […]

VMware network traffic monitoring

By having AutoVM as your infrastructure manager, you can limit your user’s virtual machine consumption regarding the transmitted and received amount of traffic through […]

Subscription for email

Future-proof your business by moving to AutoVM