2013-06-23 15:26:08 +02:00
|
|
|
from base import Phase
|
|
|
|
|
2013-08-11 18:25:05 +02:00
|
|
|
preparation = Phase('Preparation', 'Initializing connections, fetching data etc.')
|
|
|
|
volume_creation = Phase('Volume creation', 'Creating the volume to bootstrap onto')
|
|
|
|
volume_preparation = Phase('Volume preparation', 'Formatting the bootstrap volume')
|
|
|
|
volume_mounting = Phase('Volume mounting', 'Mounting bootstrap volume')
|
|
|
|
os_installation = Phase('OS installation', 'Installing the operating system')
|
|
|
|
system_modification = Phase('System modification', 'Installing software, modifying configuration files etc.')
|
|
|
|
system_cleaning = Phase('System cleaning', 'Removing sensitive data, temporary files and other leftovers')
|
|
|
|
volume_unmounting = Phase('Volume unmounting', 'Unmounting the bootstrap volume')
|
|
|
|
image_registration = Phase('Image registration', 'Uploading/Registering with the provider')
|
|
|
|
cleaning = Phase('Cleaning', '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
|
|
|
]
|