-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add ArchLinux support #183
Conversation
ce271f7
to
92ae1b0
Compare
92ae1b0
to
0d0471d
Compare
configurer/linux/archlinux.go
Outdated
) | ||
|
||
// ArchlinuxARM provides OS support for ArchlinuxARM systems | ||
type ArchlinuxARM struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be just ArchLinux
as it will detect non-arm Arch as well.
config/cluster/host.go
Outdated
@@ -379,6 +379,22 @@ func (h *Host) NeedIPTables() bool { | |||
return !h.Configurer.CommandExist(h, "iptables") | |||
} | |||
|
|||
// NeedInetUtils returns true when the inetutils package is needed on the host to run `hostname`. | |||
// Placing this check here is kind of meh because this package probably only exists on arch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the inetutils
package exists on most distros but it'spre-installed on almost all of them. Installing it when hostname
is missing may actually solve some rare issues for other distros.
Signed-off-by: erdii <[email protected]>
0d0471d
to
172d9fd
Compare
Heyo @kke 👋 |
You can now update the go.mod to use rig 0.3.23 to get the rig side of things. |
Signed-off-by: erdii <[email protected]>
Done! 👍 |
add support to deploy on archlinux nodes
tested on archlinuxarm (together with #184)
sibling PR: k0sproject/rig#33