Commit 4e49a904 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Reorder the task priorities

Theoretically, if an image contains an XFS filesystem with no free
space, the deployment will fail unless the FilesystemResizeMounted
tasks runs before any other mounted task. The only exception to this
is InstallUnattend which the task depends on.
parent fec9b264
......@@ -20,7 +20,7 @@
### BEGIN TASK INFO
# Provides: AddSwap
# RunBefore: EnforcePersonality
# RunAfter: MountImage
# RunAfter: FilesystemResizeMounted
# Short-Description: Set up the swap partition and add an entry in fstab
### END TASK INFO
......
......@@ -20,7 +20,7 @@
### BEGIN TASK INFO
# Provides: AssignHostname
# RunBefore: EnforcePersonality
# RunAfter: InstallUnattend
# RunAfter: InstallUnattend & FilesystemResizeMounted
# Short-Description: Assign Hostname/Computer Name to the instance
### END TASK INFO
......
......@@ -20,7 +20,7 @@
### BEGIN TASK INFO
# Provides: ChangePassword
# RunBefore: EnforcePersonality
# RunAfter: InstallUnattend
# RunAfter: InstallUnattend & FilesystemResizeMounted
# Short-Description: Changes Password for specified users
### END TASK INFO
......
......@@ -20,7 +20,7 @@
### BEGIN TASK INFO
# Provides: ConfigureNetwork
# RunBefore: EnforcePersonality
# RunAfter: InstallUnattend
# RunAfter: FilesystemResizeMounted
# Short-Description: Configure the VM's network interfaces
### END TASK INFO
......
......@@ -20,7 +20,7 @@
### BEGIN TASK INFO
# Provides: DeleteSSHKeys
# RunBefore: EnforcePersonality
# RunAfter: MountImage
# RunAfter: FilesystemResizeMounted
# Short-Description: Remove ssh keys and in some cases recreate them
### END TASK INFO
......
......@@ -20,7 +20,7 @@
### BEGIN TASK INFO
# Provides: DisableRemoteDesktopConnections
# RunBefore: EnforcePersonality
# RunAfter: InstallUnattend
# RunAfter: FilesystemResizeMounted
# Short-Description: Temporary Disable Remote Desktop Connections
### END TASK INFO
......
......@@ -20,7 +20,7 @@
### BEGIN TASK INFO
# Provides: SELinuxAutorelabel
# RunBefore: EnforcePersonality
# RunAfter: MountImage
# RunAfter: FilesystemResizeMounted
# Short-Description: Force the system to relabel at next boot
### END TASK INFO
......
......@@ -20,7 +20,7 @@
### BEGIN TASK INFO
# Provides: EnforcePersonality
# RunBefore: UmountImage
# RunAfter: MountImage
# RunAfter: FilesystemResizeMounted
# Short-Description: Inject files to the instance
### END TASK INFO
......
......@@ -20,7 +20,7 @@
### BEGIN TASK INFO
# Provides: RunCustomTask
# RunBefore: UmountImage
# RunAfter: MountImage
# RunAfter: FilesystemResizeMounted
# Short-Description: Run a user defined task on the image
### END TASK INFO
......
......@@ -4,15 +4,15 @@ dist_tasks_SCRIPTS = \
10FixPartitionTable \
20FilesystemResizeUnmounted \
30MountImage \
40AddSwap \
40DeleteSSHKeys \
40InstallUnattend \
40SELinuxAutorelabel \
50DisableRemoteDesktopConnections \
35InstallUnattend \
40FilesystemResizeMounted \
50AddSwap \
50AssignHostname \
50ChangePassword \
50ConfigureNetwork \
50FilesystemResizeMounted \
50DeleteSSHKeys \
50DisableRemoteDesktopConnections \
50SELinuxAutorelabel \
60EnforcePersonality \
70RunCustomTask \
80UmountImage
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment