Addition of LXD images breaks setting of KVM image in conf file
Bug #1680857 reported by
Jeff Lane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-cert-server |
Fix Released
|
Critical
|
Jeff Lane |
Bug Description
Currently, this is the regex that sets the KVM image in the conf file on deployment:
filename_
if [ ! -z "$filename_line" ] ; then
filename=$(echo $filename_line | grep -Po '(?<=href=
else
filename_
filename=$(echo $filename_line | grep -Po '(?<=href=
fi
However, that glob is too loose and now grabs the LXD images instead.
Need to modify this to grab the correct image for KVM
Need to modify this to also set the LXD image as well.
Related branches
lp:~bladernr/maas-cert-server/lxd-mirror-preseed
- Jeff Lane : Approve
-
Diff: 213 lines (+96/-18)2 files modifiedpreseed/curtin_userdata_cert (+48/-9)
preseed/curtin_userdata_custom_cert (+48/-9)
Changed in maas-cert-server: | |
status: | In Progress → Fix Committed |
Changed in maas-cert-server: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.