mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 19:26:48 +00:00
fix(install): RHEL steps enable CRB, openSUSE steps warn about nginx's default server, the compute bootstrap detects openSUSE Leap
The RHEL manual install failed at libvirt-devel, which is in CRB; the installer already enables it. openSUSE's nginx.conf has its own port-80 server for localhost, which the RHEL steps already warn about. The bootstrap skipped /etc/os-release as a symlink, which on openSUSE Leap is the only release file, so it found no distribution.
This commit is contained in:
parent
42359ca2e2
commit
99570669c5
2 changed files with 5 additions and 3 deletions
|
|
@ -188,7 +188,8 @@ __gather_linux_system_info() {
|
|||
echo redhat-release lsb-release
|
||||
)"); do
|
||||
|
||||
[ -L "/etc/${rsource}" ] && continue # Don't follow symlinks
|
||||
# Don't follow symlinks, except os-release (a link to /usr/lib/os-release, openSUSE's only release file)
|
||||
[ -L "/etc/${rsource}" ] && [ "${rsource}" != "os-release" ] && continue
|
||||
[ ! -f "/etc/${rsource}" ] && continue # Does not exist
|
||||
|
||||
n=$(echo "${rsource}" | sed -e 's/[_-]release$//' -e 's/[_-]version$//')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue