Changeset 11009 in hybrid
- Timestamp:
- May 26, 2012, 2:57:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-9.0/nanobsd/tools/image
r10982 r11009 40 40 41 41 prompt_timeout=5 42 p_warn "Going to DEPLOY $img to $host "42 p_warn "Going to DEPLOY $img to $host: (8.X-RELEASE and 9.X-RELEASE) to 9.X RELEASE" 43 43 $do_reboot && p_warn "AND will REBOOT the $host" 44 p_warn "Please do mind to use your ssh key else you be required to type the root" 45 p_warn "password AT LEAST 5 times" 46 47 44 48 p_warn "Press CTRL+C in $prompt_timeout seconds to CANCEL" 45 49 sleep $prompt_timeout … … 55 59 # 8.X-RELEASE to 9.X-RELEASE. ad0 naming changed to ada0. 56 60 if [ "$P" = "p2" ]; then 57 ssh $HOST sed -i "" "s/ada0s1/ada0s2/" /mnt/conf/base/etc/fstab /mnt/etc/fstab || exit 1 61 cat <<'EOF' | ssh $HOST sh -x || exit 1 62 mount -uwo noatime /dev/ad0s2a 63 sed -i "" "s/ada0s1/ada0s2/" /mnt/conf/base/etc/fstab /mnt/etc/fstab 64 umount 65 EOF 66 58 67 fi 59 68
Note:
See TracChangeset
for help on using the changeset viewer.