lp:~kirkland/ubuntu/quantal/cloud-initramfs-tools/overlayroot

Created by Dustin Kirkland  on 2012-07-20 and last modified on 2012-07-20
Get this branch:
bzr branch lp:~kirkland/ubuntu/quantal/cloud-initramfs-tools/overlayroot
Only Dustin Kirkland  can upload to this branch. If you are Dustin Kirkland  please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dustin Kirkland 
Status:
Development

Recent revisions

18. By Dustin Kirkland  on 2012-07-20

remove silly rewrite of printf|

17. By Dustin Kirkland  on 2012-07-20

use more secure password generation

16. By Dustin Kirkland  on 2012-07-20

fix return code check

15. By Dustin Kirkland  on 2012-07-20

fix function name; called elsewhere with underscore

14. By Dustin Kirkland  on 2012-07-19

show dev= in example line, as this is required

13. By Dustin Kirkland  on 2012-07-19

fix comment typo

12. By Scott Moser on 2012-07-19

large rewrite

11. By Scott Moser on 2012-07-19

more cleanly scrub /etc/fstab when re-writing it

This does a more correct parsing of fstab, explicitly checking
for the location of the '/' and 'swap' fields.

It also leaves the original entries, but comments them out
prefixing them with '#overlayroots#'.

10. By Scott Moser on 2012-07-19

remove hard coded paths and 'printf | command'

hard coded paths don't make sense. We assume PATH is set up correctly.
'printf | command' does not catch failure of 'printf'.
This is admittedly small chance for failure.

9. By Scott Moser on 2012-07-19

cosmetic changes

 * shorten the case prereq stuff
 * add helper functions for "log_<type>_msg ${MYTAG}:"
 * add 'fail' function for "log fail and exit 0"
 * replace 'if [ $? -ne 0 ]; then log_fail; fi'
   with $command || log_fail

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/quantal/cloud-initramfs-tools
This branch contains Public information 
Everyone can see this information.