- Timestamp:
- Dec 28, 2008, 12:25:35 AM (16 years ago)
- Location:
- trunk/packages/xvm-iscsi-config/debian
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/xvm-iscsi-config/debian/changelog
r1915 r1923 1 xvm-iscsi-config (0.0.4) unstable; urgency=low 2 3 * don't restart iscsi on upgrade, only first install 4 5 -- Greg Price <price@mit.edu> Sun, 28 Dec 2008 00:24:41 -0500 6 1 7 xvm-iscsi-config (0.0.3) unstable; urgency=low 2 8 -
trunk/packages/xvm-iscsi-config/debian/xvm-iscsi-config.postinst
r1510 r1923 42 42 password: $PASSWORD 43 43 EOF 44 invoke-rc.d xvm-iscsi-config restart 45 invoke-rc.d open-iscsi restart 46 iscsiadm -m discovery -t st -p $(invirt-getconf iscsi.address):3260 44 if [ -z "$2" ]; then 45 invoke-rc.d xvm-iscsi-config restart 46 invoke-rc.d open-iscsi restart 47 iscsiadm -m discovery -t st -p $(invirt-getconf iscsi.address):3260 48 else 49 # Don't disrupt an existing installation. 50 cat <<EOF 51 xvm-iscsi-config: If the configuration has changed, restart iscsi: 52 /etc/init.d/xvm-iscsi-config restart 53 /etc/init.d/open-iscsi restart 54 iscsiadm -m discovery -t st -p $(invirt-getconf iscsi.address):3260 55 lvchange -a ln /dev/xenvg && lvchange -a y /dev/xenvg 56 This will leave VMs unable to access their disks, so migrate them first. 57 58 EOF 59 fi 47 60 ;; 48 61
Note: See TracChangeset
for help on using the changeset viewer.