Statistics
| Branch: | Tag: | Revision:

root / image_creator / help / configuration_tasks.rst @ bf3a282c

History | View | Annotate | Download (1.8 kB)

1 3251a62c Nikos Skalkotos
Configuration tasks performed during deployment
2 3251a62c Nikos Skalkotos
===============================================
3 3251a62c Nikos Skalkotos
4 3251a62c Nikos Skalkotos
Partition Table manipulation
5 3251a62c Nikos Skalkotos
----------------------------
6 3251a62c Nikos Skalkotos
During image deployment the last partiton is enlarged to use all
7 3251a62c Nikos Skalkotos
the available disk space. If SWAP property is present an extra
8 3251a62c Nikos Skalkotos
swap partition is also added.
9 3251a62c Nikos Skalkotos
10 3251a62c Nikos Skalkotos
File system Resize
11 3251a62c Nikos Skalkotos
------------------
12 3251a62c Nikos Skalkotos
This task enlarges the file system of the last partition to use
13 3251a62c Nikos Skalkotos
all the available partition space.
14 3251a62c Nikos Skalkotos
15 3251a62c Nikos Skalkotos
Swap partition configuration
16 3251a62c Nikos Skalkotos
----------------------------
17 3251a62c Nikos Skalkotos
If swap partition is added during the image deployment, the swap
18 3251a62c Nikos Skalkotos
partition is formated and a swap entry is added to the instance's
19 3251a62c Nikos Skalkotos
fstab.
20 3251a62c Nikos Skalkotos
21 3251a62c Nikos Skalkotos
SSH keys removal
22 3251a62c Nikos Skalkotos
----------------
23 3251a62c Nikos Skalkotos
All SSH keys found in the image are removed. For debian instance,
24 3251a62c Nikos Skalkotos
where the key creation is not perfored automatically, the keys
25 3251a62c Nikos Skalkotos
are recreated by this task.
26 3251a62c Nikos Skalkotos
27 495a0d12 Nikos Skalkotos
Temporary disable Remote Desktop (RDP) connections
28 495a0d12 Nikos Skalkotos
--------------------------------------------------
29 495a0d12 Nikos Skalkotos
RDP connections are temporarily disabled during Windows
30 3251a62c Nikos Skalkotos
configuration. This is done because when sysprep runs, there is a
31 495a0d12 Nikos Skalkotos
small time interval where the new password is not applied yet thus
32 495a0d12 Nikos Skalkotos
allowing RDP connections which raises some security conserns.
33 3251a62c Nikos Skalkotos
34 3251a62c Nikos Skalkotos
Perform SELinux file system relabeling
35 3251a62c Nikos Skalkotos
--------------------------------------
36 3251a62c Nikos Skalkotos
For redhat-based images, since the instance's disk is modified
37 495a0d12 Nikos Skalkotos
during deployment, a full SELinux file system relabeling needs to
38 495a0d12 Nikos Skalkotos
be performed. This tasks triggers a full file system relabel at
39 495a0d12 Nikos Skalkotos
the next boot.
40 3251a62c Nikos Skalkotos
41 3251a62c Nikos Skalkotos
Hostname or Computer name assignment
42 3251a62c Nikos Skalkotos
------------------------------------
43 3251a62c Nikos Skalkotos
The instance name is assigned as hostname (or Computer Name for
44 3251a62c Nikos Skalkotos
Windows instances).
45 3251a62c Nikos Skalkotos
46 3251a62c Nikos Skalkotos
Change password
47 3251a62c Nikos Skalkotos
---------------
48 3251a62c Nikos Skalkotos
This task will change the password for the users specified by
49 3251a62c Nikos Skalkotos
the USERS property.
50 3251a62c Nikos Skalkotos
51 3251a62c Nikos Skalkotos
File Injection
52 3251a62c Nikos Skalkotos
--------------
53 3251a62c Nikos Skalkotos
The files specified by the PERSONALITY image property are
54 495a0d12 Nikos Skalkotos
injected into the instance's hard disk.