From 6746d9fbd9b1e55ed868a76cfb83e375d9e28849 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 8 Dec 2020 09:13:52 +0000 Subject: [PATCH] disk-image-uefi: fix riscv64 subarch user-data. --- live-build/cidata/meta-data.sample | 2 +- live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/cidata/meta-data.sample b/live-build/cidata/meta-data.sample index fa219b17..11802477 100644 --- a/live-build/cidata/meta-data.sample +++ b/live-build/cidata/meta-data.sample @@ -1,4 +1,4 @@ -# NB! This is a sample, copy to "meta-data" and mofiy to take effect +# NB! This is a sample, copy to "meta-data" and modify to take effect # NB! Also see user-data.sample and network-config.sample # This is the meta-data configuration file for cloud-init. Typically this just diff --git a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary index 080dab51..fcf3c7e0 100755 --- a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary +++ b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary @@ -152,7 +152,7 @@ install_grub() { mkdir -p mountpoint/var/lib/cloud/seed/nocloud-net cat <mountpoint/var/lib/cloud/seed/nocloud-net/meta-data instance-id: iid-$(openssl rand -hex 8) -END +EOF cat <mountpoint/var/lib/cloud/seed/nocloud-net/user-data #cloud-config chpasswd: