-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update.conf with quoted MACHINE_ALIAS breaks update_engine #1209
Comments
Hello, thanks for the issue. I can reproduce:
While it works with
but then
because it can't source correctly the file:
It seems that using single quote makes both happy:
|
Quickly looking at the Omaha side, it seems correct: it just decodes an XML payload https://github.com/flatcar/nebraska/blob/c5919755d256166312612c94f3d0c7eae6ac0d2c/backend/pkg/omaha/omaha.go#L59. I think it should be fixed on the update-engine side: the extracting of the value from |
The Nebraska documentation gives the following example for
/etc/flatcar/update.conf
:This results in the following request being logged in
omaha_request_action.cc
:Note the invalid XML due to duplicate quotes:
When setting
MACHINE_ALIAS
without quotes the update process works, even though the documentation implies that quotes are required when using whitespace. Doing so breaksmotdgen.service
instead, however.Observed in 3602.2.0 stable and 3732.1.0 beta
The text was updated successfully, but these errors were encountered: