Commit 74ec1156 authored by Thomas Abraham's avatar Thomas Abraham
Browse files

sgi/distro: rename the existing distro install and boot script



The existing script that supports both distribution install and boot
is name as 'distro_boot.sh'. Since it supports distribution install
as well, it is being renamed as 'distro.sh'.

Change-Id: I89462125685c13c66a34b05e75232f6bbd0d3198
Signed-off-by: Thomas Abraham's avatarThomas Abraham <thomas.abraham@arm.com>
parent bd2b1bbe
......@@ -82,36 +82,29 @@ boot ()
print_usage ()
{
echo "distro_boot:"
echo ""
echo " Install or boot Linux distos on System Guidance Models."
echo "Install or boot linux distribution on SGI platforms"
echo "Usage: ./distro.sh -p <platform> -i <image> -s <disk size> [-d <disk image>] [-n <true|false>] [-a \"model params\"]"
echo ""
echo "distro_boot -p [platform] -i [image] -s [disk size] -d [ disk image]"
echo " -p - SGI platform name"
echo " -i - Image, takes a path to an iso installer image"
echo " -s - Disk size in GB."
echo " -d - Disk image with previously installed distro, used for"
echo " disambiguation if there are more than one installed"
echo " concurrently"
echo " -n - Enable network: true or (default)false"
echo " -a - Additional model parameters, if any"
echo "Supported command line parameters:"
echo " -p SGI platform name (mandatory)"
echo " -i Image, takes a path to an iso installer image (mandatory for installation)"
echo " -s Disk size in GB (mandatory for installation)"
echo " -d Disk image with previously installed distro, used for"
echo " disambiguation if there are more than one installed"
echo " concurrently."
echo " -n Enable network: true or false (default: false)"
echo " -a Additional model parameters, if any"
echo ""
echo " distro_boot must be called either with both -i and -s options or"
echo " with neither, please see examples below"
echo ""
echo "Examples:"
echo ""
echo " Install Fedora 27 on to a 16 GB disk"
echo ""
echo " distro_boot -p sgi575 -i Fedora-Server-dvd-aarch64-27-1.6.iso -s 16"
echo ""
echo " Boot existing single install"
echo ""
echo " distro_boot -p sgi575"
__print_supported_sgi_platforms
echo "Example 1: ./distro.sh -p sgi575 -i Fedora-Server-dvd-aarch64-27-1.6.iso -s 16"
echo " Installs Fedora 27 on to a 16 GB disk."
echo ""
echo " Boot existing install from a set of intalled disks"
echo "Example 2: ./distro.sh -p sgi575"
echo " Finds an available installed disk image and boots from it."
echo ""
echo " distro_boot -p sgi575 -d bluepeter.satadisk"
echo "Example 3: ./distro.sh -p sgi575 -d fedora27.satadisk"
echo " Boot from an existing installed disk image"
echo ""
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment