How to install SynetoOS 4 without DHCP

Written By Christian Castagna (Administrator)

Updated at April 11th, 2025

→ Applies to: SynetoOS 4.x

 

Step 1. Login to SynetoOS VM from VMware ESXi

 

Step 2. Remove bash_profile

rm ~admin/.bash_profile

After running the command, you need to perform logout and login again

 

Step 3. Edit “hyperconverged-setup” file

vi /usr/sbin/hyperconverged-setup

 

Step 4. Replace ‘dhcp’ with ‘static’ and add ‘'<static_ip>/<subnet_mask>'

applyAddress($addressFactory->makePrimaryForInterface('vmxnet3s0', 'dhcp', 'ok', '<static_ip>/<subnet_mask>'));

Example:

applyAddress($addressFactory->makePrimaryForInterface('vmxnet3s0', 'static', 'ok', '192.168.1.200/24'));

 

Step 5. Deploy the first-install script

hyperconverged-setup first-install

Ensure DNS and gateway parameters are correctly configured on both SynetoOS and VMware ESXi

 

Step 6. Verify vhosts file contents

cat /var/storage/vhosts

Verify if the contents of the vhosts file on your system are similar to the picture above