Skip to content
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 arm64 support & fixes for running on /usr-merged/Fedora systems #129

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,18 @@ func NewMachineWithBackend(backendName string) (*Machine, error) {
if _, err := os.Stat("/etc/ca-certificates"); err == nil {
m.AddVolume("/etc/ca-certificates")
}
if _, err := os.Stat("/etc/pki"); err == nil {
m.AddVolume("/etc/pki")
}
if _, err := os.Stat("/etc/ssl"); err == nil {
m.AddVolume("/etc/ssl")
}

// Mounts for gnutls (used by wget).
if _, err := os.Stat("/etc/crypto-policies"); err == nil {
Comment on lines +227 to +228
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crypto-policies is not just for gnutls it's the centralized policies for all crypto :)

m.AddVolume("/etc/crypto-policies")
}

// Dbus configuration
if _, err := os.Stat("/etc/dbus-1"); err == nil {
m.AddVolume("/etc/dbus-1")
Expand Down