Skip to content

Commit

Permalink
fix(webinstall): Ensure root prompt happens for fedora (#1598)
Browse files Browse the repository at this point in the history
Reviewed-by: Alexander Jung <alex@unikraft.io>
Approved-by: Alexander Jung <alex@unikraft.io>
  • Loading branch information
nderjung committed Apr 28, 2024
2 parents ccdd68c + 3d92153 commit dc59dbf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tools/webinstall/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1053,10 +1053,13 @@ install_linux_gnu() {
"gpgcheck=0\n" \
)

# Do command directly as the output is inconsistent
say "Adding kraftkit package for RHEL/Fedora"
printf "%b" "${_ilg_rpm_path}" | tee /etc/yum.repos.d/kraftkit.repo
_ilg_yum_cmd=$(printf "%b%s" \
"echo '${_ilg_rpm_path}'" \
"| tee /etc/yum.repos.d/kraftkit.repo" \
)

do_cmd "$_ilg_yum_cmd"
do_cmd "$YUM makecache"
do_cmd "$YUM install -y kraftkit"
elif check_os_release "debian"; then
Expand Down

0 comments on commit dc59dbf

Please sign in to comment.