Skip to content

Added Fedora OS support#791

Open
bkhadars wants to merge 1 commit intoppc64le-cloud:mainfrom
bkhadars:master
Open

Added Fedora OS support#791
bkhadars wants to merge 1 commit intoppc64le-cloud:mainfrom
bkhadars:master

Conversation

@bkhadars
Copy link
Contributor

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #737

Special notes for your reviewer:

**Output/Demonstration
fedora distribution support is added to pvsdm

@ppc64le-cloud-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bkhadars
Once this PR has been reviewed and has the lgtm label, please assign mkumatag for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ppc64le-cloud-bot ppc64le-cloud-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 25, 2025
@mkumatag
Copy link
Contributor

/cc @sudeeshjohn

please review

}
} else {
if err = mount("nouuid", bootDev, bootMount); err != nil {
return err
Copy link
Contributor

Choose a reason for hiding this comment

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

could you please check if "defaults" work for other filesystem types as well ?

mv /etc/resolv.conf.orig /etc/resolv.conf || true
touch /.autorelabel
setfiles -F /etc/selinux/targeted/contexts/files/file_contexts /
`
Copy link
Contributor

Choose a reason for hiding this comment

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

this is already part of the code

return err
}
if !supported {
klog.Errorln("to create fedora ova image btrfs support should be available in the kernel]")
Copy link
Contributor

Choose a reason for hiding this comment

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

Request to make this little more clear,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for fedora image

4 participants