- Timestamp:
- Jan 2, 2010, 1:22:25 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/invirt-admin/invirt-admin
r2237 r2854 8 8 echo " required options: --name, --fs-size, --swap-size, --memory," 9 9 echo " --hostname, --ip, --mac, --arch, --dist, --mirror" 10 echo 11 echo " optional options: --netmask, --gateway. Defaults will be pulled from invirt-getconf" 10 12 echo 11 13 echo " fs-size, swap-size, memory in MiB" … … 19 21 shift 20 22 21 vg= xenvg23 vg=$(invirt-getconf xen.lvm.vg) 22 24 while [ $# -gt 0 ]; do 23 25 case "$1" in … … 33 35 --dist) dist=$2; shift 2;; 34 36 --mirror) mirror=$2; shift 2;; 37 --netmask) netmask=$2; shift 2;; 38 --gateway) gateway=$2; shift 2;; 35 39 *) 36 40 echo "Unknown option: $1" … … 52 56 ARCH=$arch DIST=$dist MIRROR=$mirror \ 53 57 HOSTNAME=$hostname IP=$ip \ 58 NETMASK=$netmask GATEWAY=$gateway \ 54 59 invirt-create-image 55 60
Note: See TracChangeset
for help on using the changeset viewer.