From 79762205f33e3c7e68d5b97aaaa4925efa65fd97 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Wed, 14 Jun 2023 05:58:03 +0900 Subject: [PATCH] Update dhcp_interfaces.cfg --- Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg b/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg index 7a26a8c..76f6ee3 100644 --- a/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg +++ b/Linux_reinstall/Ubuntu/CloudInit/dhcp_interfaces.cfg @@ -15,6 +15,9 @@ system_info: # configure hostname hostname: HostName +# configure localization +locale: en_US.UTF-8 + # timezone timezone: TimeZone @@ -50,9 +53,9 @@ 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 - - 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 + - rm -rf /etc/cloud/cloud.cfg.d/99-fake_cloud.cfg - touch /etc/cloud/cloud-init.disabled # configure cloud-init for NoCloud