#cloud-config chpasswd: list: | root:{기입필요} svradm1:{기입필요} expire: False ssh_pwauth: True write_files: - content: | BOOTPROTO=none DEVICE=eth0 ONBOOT=yes TYPE=Ethernet USERCTL=no IPADDR={IP_ADDRESS} GATEWAY={GATEWAY} NETMASK={NETMASK} path: /etc/sysconfig/network-scripts/ifcfg-eth0 - content: | nameserver {DNS_IP} nameserver 10.253.19.18 path: /etc/resolv.conf runcmd: - 'sudo hostnamectl set-hostname {기입필요}' - 'sudo echo "{NIC_1_IP_ADDRESS} {기입필요}" | sudo tee -a /etc/hosts' - 'sudo systemctl restart NetworkManager' - 'sudo ifdown eth0' - 'sudo ifup eth0' - 'sudo rm -rf /etc/udev/rules.d/70-persistent-net.rules' - 'sudo echo "server 10.253.12.26" | sudo tee -a /etc/chrony.conf' - 'sudo echo "server 10.253.12.27" | sudo tee -a /etc/chrony.conf' - 'sudo echo "server 203.248.240.140" | sudo tee -a /etc/chrony.conf' - 'sudo systemctl restart chronyd' - 'sudo chronyc sources -v'