update/software/service-files/usm-initialize.service
Bin Qian f2b98a4950 Add new USM initialize service
The new service is enabled on a host that completed major release
deployment prior to host-unlock. The service runs at the early stage of
node reboot after host-unlock. It sets up the systemd preset for new
deployed major release software, removes the initial_config_complete
flag file, then disable itself.

This service replicates the operations in the kickstart during a node
installation. Other operations may be added in the future.

Test Plan
PASS: AIO-DX - run throught e2e USM major release deploy,
      verify the new systemd services added to the to-release
      are enabled

Story: 2010676
Task: 50749

Change-Id: I77e819e9767071da6cd43f581c76661ba2fc06c1
Signed-off-by: Bin Qian <Bin.Qian@windriver.com>
Co-Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
2024-08-06 12:38:53 -03:00

13 lines
211 B
Desktop File

[Unit]
Description=Unified Software Management Initialize Service
Before=network-online.target
[Service]
Type=oneshot
User=root
ExecStart=/etc/init.d/usm-initialize start
[Install]
WantedBy=multi-user.target