Changes between Version 16 and Version 17 of Documentation/SupportedImages/BuildingBaselineImage
- Timestamp:
- Apr 2, 2012, 4:36:48 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/SupportedImages/BuildingBaselineImage
v16 v17 135 135 resizefs: true 136 136 }}} 137 1. Switch to a swap file instead of swap partition: 138 1. Make the file: 139 {{{ 140 dd if=/dev/zero of=/swapfile bs=1G count=2 141 mkswap /swapfile 142 chown root.root /swapfile 143 chmod 0600 swapfile 144 }}} 145 1. Edit the fstab to make /swapfile the mounted swap device: Add this line: 146 {{{ 147 /swap none swap sw 0 0 148 }}} 149 137 150 1. Run the prepare [attachment:prepare.sh file]