disk-image-uefi: fix riscv64 subarch user-data.

sil2100/proposed-components
Dimitri John Ledkov 4 years ago
parent e0095d8c47
commit 6746d9fbd9
No known key found for this signature in database
GPG Key ID: 9B8EC849D5EF70ED

@ -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 # NB! Also see user-data.sample and network-config.sample
# This is the meta-data configuration file for cloud-init. Typically this just # This is the meta-data configuration file for cloud-init. Typically this just

@ -152,7 +152,7 @@ install_grub() {
mkdir -p mountpoint/var/lib/cloud/seed/nocloud-net mkdir -p mountpoint/var/lib/cloud/seed/nocloud-net
cat <<EOF >mountpoint/var/lib/cloud/seed/nocloud-net/meta-data cat <<EOF >mountpoint/var/lib/cloud/seed/nocloud-net/meta-data
instance-id: iid-$(openssl rand -hex 8) instance-id: iid-$(openssl rand -hex 8)
END EOF
cat <<EOF >mountpoint/var/lib/cloud/seed/nocloud-net/user-data cat <<EOF >mountpoint/var/lib/cloud/seed/nocloud-net/user-data
#cloud-config #cloud-config
chpasswd: chpasswd:

Loading…
Cancel
Save