curtin in-target commands do not work for ubuntu core
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned | ||
curtin |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have created a Ubuntu Core 16 image (with cloud-init enabled), and added it to MAAS with:
# maas admin boot-resources create name=ubuntu-
I am able to deploy the image to a node correctly. However, I have tried to run commands in the curtin installation, for instance:
-------
# cat /etc/maas/
#cloud-config
debconf_selections:
maas: |
{{for line in str(curtin_
{{line}}
{{endfor}}
late_commands:
maas: [wget, '--no-proxy', '{{node_
test_01: ls /
test_01: curtin in-target -- ls /
-------
And regardless of the command that runs as "curtin in-target", I always get a "Command not found" error.
This, however, does not happen for classic images, so there is some issue in curtin or MAAS that prevents this from working on UC16 images.
Changed in maas: | |
milestone: | none → 2.3.0 |
Changed in maas: | |
status: | New → Invalid |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.x |
Ubuntu-core does not have an in-target (which means, chroot into this image and run commands) as Ubuntu-core root file system is not mounted and immutable (by design).
What sort of commands/ modifications are you expecting to do to an Ubuntu-core image?