It seems newer focal images force you to use the ubuntu user account. We already have code that attempts to fallback to ubuntu, but we were not properly catching the error when root fails which caused the whole script to fail. Address this by catching the exception, logging a message, then continuing to the next possible option. If no possible options are found we raise an exception already which handles the worst case situation. Change-Id: Ie6013763daff01063840abce193050b33120a7a2
16 KiB
Executable File
16 KiB
Executable File