m-c-s debinstall script breaks because curtin_userdata can't be found

Bug #1878088 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas-cert-server
New
Undecided
Unassigned

Bug Description

Since maas has moved to a snap for Focal and MAAS 2.7, the debinst script for maas-cert-server breaks while trying to find curtin_userdata in /etc/maas.

these now exist in /snap/maas/current/etc/maas/preseeds/

According to discourse, the following is the solution for the snap:

In the snap, you can override existing preseeds by putting a different version of the file (matching the original name in /var/snap/maas/current/preseeds/.
The directory will contain *.sample files that are a copy of the original ones.
You can copy/rename the one(s) you want to override and make the necessary changes. They will take precedence over the ones shipped in the snap.
https://discourse.maas.io/t/how-to-create-customs-curtin-userdata-when-maas-runs-in-snap/1363

Jeff Lane  (bladernr)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.