2013-06-23 15:26:08 +02:00
|
|
|
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')
|
2013-06-26 23:40:42 +02:00
|
|
|
os_installation = Phase('Installing the operating system')
|
|
|
|
system_modification = Phase('Installing software, modifying configuration files etc.')
|
|
|
|
system_cleaning = Phase('Removing sensitive data, temporary files and other leftovers')
|
|
|
|
volume_unmounting = Phase('Unmounting the bootstrap volume')
|
|
|
|
image_registration = Phase('Uploading/Registering with the provider')
|
|
|
|
cleaning = Phase('Removing temporary files')
|
2013-06-23 22:12:29 +02:00
|
|
|
|
2013-06-26 20:14:37 +02:00
|
|
|
order = [preparation,
|
|
|
|
volume_creation,
|
|
|
|
volume_preparation,
|
|
|
|
volume_mounting,
|
2013-06-26 23:40:42 +02:00
|
|
|
os_installation,
|
|
|
|
system_modification,
|
|
|
|
system_cleaning,
|
|
|
|
volume_unmounting,
|
|
|
|
image_registration,
|
|
|
|
cleaning,
|
2013-06-26 20:14:37 +02:00
|
|
|
]
|