From 29540031cb009a7cb30b9a0e4c0fbea7a1932984 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Wed, 14 Jun 2023 04:19:57 +0900 Subject: [PATCH] Update ipv4_static_interfaces.cfg --- Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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