bootstrap-vz/common/phases.py

25 lines
911 B
Python
Raw Normal View History

from base import Phase
2013-06-23 22:12:29 +02:00
preparation = Phase('Initializing connections, fetching data etc.')
volume_creation = Phase('Creating the volume to bootstrap onto')
volume_preparation = Phase('Formatting the bootstrap volume')
volume_mounting = Phase('Mounting bootstrap volume')
install_os = Phase('Installing the operating system')
modify_system = Phase('Installing software, modifying configuration files etc.')
clean_system = Phase('Removing sensitive data, temporary files and other leftovers')
unmount_volume = Phase('Unmounting the bootstrap volume')
register_image = Phase('Uploading/Registering with the provider')
cleanup = Phase('Removing temporary files')
2013-06-26 20:14:37 +02:00
order = [preparation,
volume_creation,
volume_preparation,
volume_mounting,
install_os,
modify_system,
clean_system,
unmount_volume,
register_image,
cleanup,
]