Merge pull request #4386 from Security-Onion-Solutions/foxtrot

Update wording for iso location prompt in soup
This commit is contained in:
William Wernert
2021-06-03 09:55:15 -04:00
committed by GitHub

View File

@@ -107,14 +107,13 @@ airgap_mounted() {
echo "The ISO is already mounted" echo "The ISO is already mounted"
else else
echo "" echo ""
echo "Looks like we need access to the upgrade content" cat << EOF
echo "" In order for soup to proceed, the path to the downloaded Security Onion ISO file, or the path to the CD-ROM or equivalent device containing the ISO media must be provided.
echo "If you just copied the .iso file over you can specify the path." For example, if you have copied the new Security Onion ISO file to your home directory, then the path might look like /home/myuser/securityonion-2.x.y.iso.
echo "If you burned the ISO to a disk the standard way you can specify the device." Or, if you have burned the new ISO onto an optical disk then the path might look like /dev/cdrom.
echo "Example: /home/user/securityonion-2.X.0.iso"
echo "Example: /dev/sdx1" EOF
echo "" read -rp 'Enter the path to the new Security Onion ISO content: ' ISOLOC
read -rp 'Enter the location of the iso: ' ISOLOC
if [[ -f $ISOLOC ]]; then if [[ -f $ISOLOC ]]; then
# Mounting the ISO image # Mounting the ISO image
mkdir -p /tmp/soagupdate mkdir -p /tmp/soagupdate