Skip to content

fix(vm-iso-installer): include rootfiles in target install#17720

Open
kgodara912 wants to merge 1 commit into
4.0from
kgodara/4.0/iso_rootfiles
Open

fix(vm-iso-installer): include rootfiles in target install#17720
kgodara912 wants to merge 1 commit into
4.0from
kgodara/4.0/iso_rootfiles

Conversation

@kgodara912

@kgodara912 kgodara912 commented Jun 15, 2026

Copy link
Copy Markdown

rootfiles ships the default skeleton dotfiles for root's home directory (.bashrc, .bash_profile, .bash_logout, .cshrc, .tcshrc). Without it, the installed system has an empty /root, which causes sudo su (and similar login shells) to not show the root@.. for normal user sudo su.

Add it to INSTALL_PKGS so it lands in both the kickstart %packages section and the offline repo.

rootfiles ships the default skeleton dotfiles for root's home
directory (.bashrc, .bash_profile, .bash_logout, .cshrc, .tcshrc).
Without it the installed system has an empty /root, which causes
`sudo su` (and similar login shells) to prompt:

    Couldn't find a personal initialization file.
    Use a generic skeleton file? [Y/n]

Add it to INSTALL_PKGS so it lands in both the kickstart %packages
section and the offline repo.
Copilot AI review requested due to automatic review settings June 15, 2026 08:26
@kgodara912 kgodara912 requested a review from a team as a code owner June 15, 2026 08:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Ensures the vm-iso-installer target installation includes the rootfiles package so /root gets the default skeleton dotfiles (e.g., .bashrc, .bash_profile), improving the root login shell experience after install (e.g., via sudo su).

Changes:

  • Add rootfiles to the installer’s INSTALL_PKGS list so it is included in both the kickstart %packages section and the generated offline repo contents.

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