Skip to content

Cobbler (v3.2.2) automatic deployment of ESXi and configuration of IP address with ks script error #3548

Discussion options

You must be logged in to vote

Try this one please:

# Accept the VMware End User License Agreement
vmaccepteula

# Set the root password for ESXI HOST
rootpw password01!

# Install on the first local disk available on machine
install --firstdisk --overwritevmfs

# Set the network to dhcp on the first network adapter
network --bootproto=dhcp --device=vmnic0

# Set keyboard type
keyboard "US Default"

# Reboot
reboot

# Use busybox interpreter
%firstboot --interpreter=busybox

# Enable ESXi Shell
vim-cmd hostsvc/enable_esx_shell \
vim-cmd hostsvc/start_esx_shell \

# Enable SSH
vim-cmd hostsvc/enable_ssh \
vim-cmd hostsvc/start_ssh  \

# Suppress Shell warning
esxcli system settings advanced set -o /UserVars/SuppressShel…

Replies: 1 comment 18 replies

Comment options

You must be logged in to vote
18 replies
@wangxu186189
Comment options

@wangxu186189
Comment options

@wangxu186189
Comment options

@SchoolGuy
Comment options

Answer selected by wangxu186189
@wangxu186189
Comment options

@wangxu186189
Comment options

@wangxu186189
Comment options

@SchoolGuy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants