diff --git a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg index 7170026..669b5cf 100644 --- a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg +++ b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg @@ -15,9 +15,6 @@ system_info: # configure hostname hostname: HostName -# timezone -timezone: TimeZone - # configure root user users: - name: root @@ -58,6 +55,7 @@ runcmd: - 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 + - timedatectl set-timezone TimeZone - touch /etc/cloud/cloud-init.disabled # configure cloud-init for NoCloud