summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-23 18:57:17 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-23 18:57:17 -0800
commit61fa9efdf886c5b47644d68ecc99cac2d4cf673a (patch)
treee4bfbd4ab838b267d56f6283fbba317590d17de2
parentce0724444cca9f005925786d8523832e10357430 (diff)
parentc9540f337bab52a47315b97be91ec9e7a67b5ed8 (diff)
downloadvyatta-cfg-quagga-61fa9efdf886c5b47644d68ecc99cac2d4cf673a.tar.gz
vyatta-cfg-quagga-61fa9efdf886c5b47644d68ecc99cac2d4cf673a.zip
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg-system into mendocino
-rw-r--r--debian/changelog15
-rwxr-xr-xscripts/install/install-get-partition34
-rwxr-xr-xscripts/install/install-image22
3 files changed, 38 insertions, 33 deletions
diff --git a/debian/changelog b/debian/changelog
index 5448cc12..e44f37e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+vyatta-cfg-system (0.19.2) unstable; urgency=low
+
+ [ Bob Gilligan ]
+ * Bugfix 6457: Don't ask the question if you're not going to like the
+ answer.
+
+ [ Stephen Hemminger ]
+ * Don't allow zero for VRRP priority or VRID
+ * Bonding should have same VRRP rules as Ethernet
+ * typo in tunnel cleanup
+
+ [ Bob Gilligan ]
+
+ -- Bob Gilligan <gilligan@vyatta.com> Sun, 21 Nov 2010 08:00:56 -0800
+
vyatta-cfg-system (0.19.1) unstable; urgency=low
* Cleanup tunnel slave device on last delete
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index 8b4bd406..50ba7505 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -885,9 +885,10 @@ unmount () {
turnoffswap
while true; do
- # check if we are in a live CD boot
+
if ! is_live_cd_boot; then
- # running installed system. check boot drive/partition.
+ # We're running on an installed system, so we don't have to find
+ # a partition to install onto
if is_union_install; then
# this is a union install
ROOT_PARTITION_TYPE=union
@@ -895,27 +896,9 @@ while true; do
# this is an old, non-union install
ROOT_PARTITION_TYPE=old
fi
- while [ -z "$response" ]; do
- cat <<EOF
-You are running an installed system. Do you want to use the current install
-EOF
- echo -n "partition? (Yes/No) [Yes]: "
- response=$(get_response "Yes" "Yes No Y N")
- echo
- done
- if [ "$response" == "no" ] || [ "$response" == "n" ]; then
- # for simplicity, require the current install partition if running an
- # installed system.
- ROOT_PARTITION_TYPE=''
- break
- else
- # flag them as found but we don't actually need them
- ROOT_PARTITION=dummy
- INSTALL_DRIVE=dummy
- fi
- fi
- if [ -n "$ROOT_PARTITION" ]; then
- # got partition. done.
+ # flag partition and drive as found but we don't actually need them
+ ROOT_PARTITION=dummy
+ INSTALL_DRIVE=dummy
break
fi
@@ -965,6 +948,11 @@ EOF
setup_method_auto
fi
+ if [ -n "$ROOT_PARTITION" ]; then
+ # got partition. done.
+ break
+ fi
+
break
done
diff --git a/scripts/install/install-image b/scripts/install/install-image
index cd486404..c201be3c 100755
--- a/scripts/install/install-image
+++ b/scripts/install/install-image
@@ -208,21 +208,23 @@ fi
trap sig_handler INT KILL
trap exit_handler EXIT
-cat <<EOF
+if is_live_cd_boot; then
+ cat <<EOF
Welcome to the Vyatta install program. This script
will walk you through the process of installing the
Vyatta image to a local hard drive.
EOF
-response=''
-while [ -z "$response" ]
-do
- echo -n "Would you like to continue? (Yes/No) [Yes]: "
- response=$(get_response "Yes" "Yes No Y N")
- if [ "$response" == "no" ] || [ "$response" == "n" ]; then
- fail_exit 'Ok then.'
- fi
-done
+ response=''
+ while [ -z "$response" ]
+ do
+ echo -n "Would you like to continue? (Yes/No) [Yes]: "
+ response=$(get_response "Yes" "Yes No Y N")
+ if [ "$response" == "no" ] || [ "$response" == "n" ]; then
+ fail_exit 'Ok then.'
+ fi
+ done
+fi
if is_live_cd_boot; then
if [ -n "$NEW_ISO" ]; then