mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-29 11:41:31 +00:00
disk-image-uefi: fix riscv64 subarch user-data.
This commit is contained in:
parent
e0095d8c47
commit
6746d9fbd9
@ -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…
x
Reference in New Issue
Block a user