autoinstall cloud-init complains about mount directive - none is not of type string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hi,
I'm installing Ubuntu 22.04.3 from an ISO on a proxmox server using packer. With packer I'm giving some command line arguments that allow me to configure the network and loads the cloud-init configuration through a http server that packer provides:
The user-data is loaded correctly (I can see it under in /var/lib/
"load_autoinsta
Running "cloud-init schema --config-file /var/lib/
This is what the autoinstall (and user-data) looks like:
```
#cloud-config
autoinstall:
version: 1
locale: en_US
keyboard:
layout: us
network:
network:
version: 2
ethernets:
ens18:
addresses:
- 10.88.88.157/24
routes:
- to: default
via: 10.88.88.126
search: [example.internal]
refresh-
update: no
ssh:
install-server: true
allow-pw: true
packages:
- qemu-guest-agent
- python3-pip
- jq
storage:
layout:
name: direct
swap:
size: 0
user-data:
manage_
mounts:
- [ swap, null ]
package_
users:
- name: packer
passwd: $6$<password-hash>
groups: [adm, cdrom, dip, plugdev, sudo]
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
- ssh-ed25519 <my-ssh-key>
```
Removing the mounts directive altogether (with the "swap, null" item) bypasses the error completely.
The cloud-init version (before upgrades) is 23.2.1-
The cloud-init version in the Ubuntu 22.04.1 iso image is 22.2-0ubuntu1~
Using the Ubuntu 22.04.1 ISO works without any issues.
Changed in subiquity: | |
status: | New → Confirmed |
tags: | added: foundations-todo |
Changed in subiquity: | |
importance: | Undecided → Medium |