GitHub user j3cky edited a comment on the discussion: Static IP in cloudstack 
instance

@weizhouapache 
yes, after instance deployed example centos 7, we get config in 
/etc/sysconfig/network-scripts/ifcfg-eth0 using dhcp.

BOOTPROTO=dhcp
DEVICE=eth0
HWADDR=02:02:01:66:00:27
ONBOOT=yes
STARTMODE=auto
TYPE=Ethernet
USERCTL=no

is it possible to have it as static ip like this

BOOTPROTO=static
IPADDR=192.168.2.203 #depend on assigned ip when we deploy.
PREFIX=24
DEVICE=eth0
HWADDR=02:02:01:66:00:27
ONBOOT=yes
STARTMODE=auto
TYPE=Ethernet
USERCTL=no

GitHub link: 
https://github.com/apache/cloudstack/discussions/9342#discussioncomment-9970039

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to