Comments (6)
Update 1:
In Netboot, when clicking the "Upload Netboot Image" nothing happens.
from netsus.
Update 2:
In SUS, even though there are fupdates being sync'd as the main dashboard is showing me the disk usage that is slowly growing and I confirmed it from here ls -l /srv/SUS/html/content/downloads/ however they are not showing when i click on the branch I created.
from netsus.
Update 3:
So I am guessing the trouble starts with this file "testOSRequirements.sh" as then detectedOS is parsed through the other scripts.
Maybe first step should be to detect if lsb_release exists, then search it for distro flavors, if it is not there then look for /etc/*-release
if [ -f "/usr/bin/lsb_release" ]; then
ubuntuVersion=lsb_release -s -d
case $ubuntuVersion in
Ubuntu\ 12.04)
detectedOS="Ubuntu"
export $detectedOS
;;
Ubuntu\ 10.04)
detectedOS="Ubuntu"
export $detectedOS
;;
"*")
logEvent "Error: Did not detect a valid Ubuntu OS install."
failedAnyChecks=1
;;
esac
elif [ -f "/etc/system-release" ]; then
case "$(readlink /etc/system-release)" in
"centos-release")
detectedOS="CentOS"
export $detectedOS
;;
"redhat-release")
if subscription-manager list | grep Status | grep -q 'Not Subscribed' ; then
logevent "This system is not registered to Red Hat Subscription Management."
failedAnyChecks=1
fi
detectedOS="RedHat"
export $detectedOS
;;
"*")
logEvent "Error: Did not detect a valid RedHat/Cent OS install."
failedAnyChecks=1
;;
esac
else
logEvent "Error: Did not detect a valid OS."
failedAnyChecks=1
fi
from netsus.
Update 4:
For me this was another issue:
"redhat-release")
if subscription-manager list | grep Status | grep -q 'Not Subscribed' ; then
logevent "This system is not registered to Red Hat Subscription Management."
failedAnyChecks=1
fi
detectedOS="RedHat"
export $detectedOS
Although my server is registered, and I can install packages and updates using yum, when I run
subscription-manager list | grep Status | grep -q 'Not Subscribed' it returns nothing. and if I remove the second grep and do subscription-manager list | grep Status it returns "Status Unknown", which is strange I know, but other will probably be seeing the same, so whether it is registered or not, it should try and install packages anyway and use the yum error to determine whether it is possible or not.
from netsus.
Update 5:
This made things work for me on red hat:
In testOSrequirements.sh and adminHelper.sh, in the snippet of code below I added a "fi" after closing the case command then I removed the el from the "elif" statement.
if [ -f "/usr/bin/lsb_release" ]; then
ubuntuVersion=lsb_release -s -d
case $ubuntuVersion in
Ubuntu\ 12.04)
detectedOS="Ubuntu"
export $detectedOS
;;
Ubuntu\ 10.04)
detectedOS="Ubuntu"
export $detectedOS
;;
"*")
logEvent "Error: Did not detect a valid Ubuntu OS install."
failedAnyChecks=1
;;
esac
fi
if [ -f "/etc/system-release" ]; then
case "$(readlink /etc/system-release)" in
"centos-release")
detectedOS="CentOS"
export $detectedOS
from netsus.
from netsus.
Related Issues (20)
- Ubuntu 18.04 Issues HOT 1
- I cannot download the installer
- isc-DHCP-sever breaks after I deployed NetSUS
- NetSUS using more than 500GB HOT 6
- Appliance 5.0.1 not working right out of the box HOT 1
- Permission issue on RedHat Enterprise 7? HOT 1
- repoutil --purge-product not working.
- Webadmin account can't use Special Character/Locked out HOT 2
- XSS/Link Injection vulnerability on /webadmin/ login page HOT 1
- "No New Software Available" when checking for updates on new SUS server HOT 1
- AD webadmin login not working
- RPM not signed
- SUS - Downloading updates it shouldn't be. HOT 1
- Purge Deprecated - Doesn't appear to be working HOT 1
- NetSUS not pulling new "Compressed" updates HOT 1
- Option to flush .dist files when syncing repo
- iPhone Update?
- Will NetSUSLP install on multiple architectures? HOT 3
- Do we need to do sth for Big Sur? HOT 3
- Reinstalling only webadmin portion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netsus.