Skip to content

Comments

ignition-generator: make the hostname units optional#23

Merged
margamanterola merged 1 commit intoflatcar-masterfrom
marga-kinvolk/make-hostname-optional
Apr 8, 2021
Merged

ignition-generator: make the hostname units optional#23
margamanterola merged 1 commit intoflatcar-masterfrom
marga-kinvolk/make-hostname-optional

Conversation

@margamanterola
Copy link
Contributor

@margamanterola margamanterola commented Apr 7, 2021

Having the hostname units as required by the initrd.target meant that if
the unit failed (for example because the network was or the metadata
service were down), the machine wouldn't start. By making it a "wants"
rather than a "requires" we allow this unit to fail without disrupting
the whole boot.

Testing done

I ran CI with this change and it succeeded.

Having the hostname units as required by the initrd.target meant that if
the unit failed (for example because the network was or the metadata
service were down), the machine wouldn't start. By making it a "wants"
rather than a "requires" we allow this unit to fail without disrupting
the whole boot.
@margamanterola margamanterola requested a review from a team April 7, 2021 13:23
@margamanterola
Copy link
Contributor Author

CI passed, merging.

@margamanterola margamanterola merged commit c218828 into flatcar-master Apr 8, 2021
@margamanterola margamanterola deleted the marga-kinvolk/make-hostname-optional branch April 8, 2021 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants