-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
37 lines (33 loc) · 782 Bytes
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
if [[ -s /maint/scripts/common_functions.h ]]; then
source /maint/scripts/common_functions.h
elif [[ -s common_functions.h ]]; then
source common_functions.h
elif [[ -s /images/post_scripts/common_functions.h ]]; then
source /images/post_scripts/common_functions.h
else
echo "Critical dependency failure: unable to locate common_functions.h"
exit
fi
#f_DetectVM
f_FindPubIP
#f_FindDefaultGW
#f_CheckIF eth0
#f_IPforIF eth0
f_GetRelease
#f_ValidIPv4
#f_MakeSiteMenu
#f_IsNetUp
#f_AtWest
#f_FindPubIF
#f_SpinningCountdown 10
#f_PathOfScript
#f_GetVendor
#f_GetPhysicalDriveCount
#PUBIF=`f_AskPubIF`
#echo $PUBIF
#f_IsHostValid oma00ds01.ds.west.com 389
#f_IsIPInCIDR 172.16/12 172.30.113.120
#f_IsIPInCIDR 10/8 172.30.113.120
f_InDMZ
f_GetImageServerIP