lp:~bladernr/maas-cert-server/mcs-install-curtin_userdata-by-packaging

Created by Jeff Lane  and last modified
Get this branch:
bzr branch lp:~bladernr/maas-cert-server/mcs-install-curtin_userdata-by-packaging
Only Jeff Lane  can upload to this branch. If you are Jeff Lane  please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Jeff Lane 
Project:
maas-cert-server
Status:
Merged

Recent revisions

60. By Jeff Lane 

A little more detail in the ending message and some cleanup in maniacs-setup

59. By Jeff Lane 

Moved the bits of maniacs setup that copy curtin_userdata and preseeds into a postinst to ensure that updating the package also updates the preseeds, but still prompts users to run maniacs-setup (which still handles changing mirror addresses in the files if necessary).

58. By Rod Smith

Modify the preseed files so that they update the dmidecode package. This is necessary to avoid bug #1578022, since dmidecode is installed as part of the standard system installation, and so is not updated automatically with that bug fix.

Note that I initially forgot to update the Debian packaging; the actual preseed fix is in revision 58 and the Debian packaging update is in revision 59.

57. By Rod Smith

Removed canonical-certification-precheck script from package, and preseed call to pull it from MAAS server, since this script is now part of the plainbox-provider-certification-server package, and the preseed wget command deliberately did NOT overwrite any existing package, so the call became useless once the file landed in plainbox-provider-certification-server.

56. By Rod Smith

This merge modifies maniacs-setup so that it works with MAAS 2.0. (It continues to work with MAAS 1.9.) This has worked for me in several tests, but probably still has some bugs and could be improved in some ways.

55. By Rod Smith

maniacs-setup failed to append "GA" to the description of the initial Ubuntu 16.04 image when importing it into MAAS. This branch fixes the problem. This is a minor cosmetic issue, but I'd rather have it fixed from the start....

54. By Rod Smith

Instead of using one preseed file for both standard MAAS and custom images, create two files. The standard MAAS preseed file does not attempt to adjust /etc/network/interfaces; only the custom-image preseed does that. This should enable MAAS to set the networking the way it wants to. The cost is that it might not bring up eth1 and above, but at least it won't fail to deploy.

This change also includes a tweak to maniacs-setup to install the correct preseed files. Users will need to run "sudo maniacs-setup -p" to replace their old preseed files with the new ones.

53. By Rod Smith

Improve the preseed files' handling of /etc/network/interfaces by having them set the "auto" bringup option for a given interface if and only if the interface can be brought up via dhclient during deployment. If an interface exists but cannot be brought up in this way, its entry is created, but the "auto" option is commented out and a comment advising that cabling be checked is added. This should improve deployment reliability when only some NICs are cabled.

52. By Rod Smith

Currently, the index.html file (that includes links to various documentation files) included as part of this package for the web server is only updated if the user re-runs the maniacs-setup script with no options. This patch causes it to be updated whenever maniacs-setup is run, even with limiting options. This should help to keep the index file updated.

Alternatively, index.html could be moved from maas-cert-server to certification-docs, which would keep it updated even better; however, certification-docs might conceivably be installed without maas-cert-server, in which case it might not be appropriate to put its index.html file at the base of the web server's tree. This problem might be handled by an installation script (part of the Debian packaging) that checks for the presence of maas-cert-server, but that's getting WAY more complex than this MR's simple move of one line in maniacs-setup, so I'm starting with this as a quick improvement.

51. By Rod Smith

Fix maniacs-setup to support user directory with name other than username; for instance, if user fred's home directory is /home/flintstone.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~hardware-certification/maas-cert-server/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers