diff --git a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg index fe00002..e09b853 100644 --- a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg +++ b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg @@ -15,11 +15,6 @@ system_info: # configure hostname hostname: HostName -# configure timezone -user-data: - disable_root: false - timezone: TimeZone - # configure localization locale: en_US.UTF-8 @@ -60,6 +55,7 @@ runcmd: - /etc/init.d/ssh restart - apt update - apt install curl dnsutils efibootmgr fail2ban figlet file lrzsz jq lsof lsb-release net-tools python3 subnetcalc telnet traceroute unzip vim wget xz-utils -y + - timedatectl set-timezone TimeZone - rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg - mv /etc/netplan/50-cloud-init.yaml /etc/netplan/20-netcfg.yaml - netplan apply