Skip to main content

Post-imaging commands

Applies to: Medulla – Imaging
Version: All
Environment: On-Premise
Category: Imaging

Commands available for post-imaging scripts:

Post-installation scripts are Bash scripts. The following Linux commands are available:

  • cp
  • rm
  • mkdir
  • mount
  • ...

# Mounts the Windows partition at /mnt

MountSystem

List of commands used in post-installation scripts: 

# Copies the sysprep file filename.xml to Windows/Panther/unattend.xml on the Windows partition.

# The computer's hostname (retrieved from its inventory) is also injected into sysprep

CopySysprep filename.xml

# Retrieves the OEM license from the BIOS and re-injects it into sysprep

UseOEMBiosLicence

# Copies winutils/SetupComplete.cmd to Windows/Setup/Scripts on the Windows partition

CopyRunAtOnce

# Runs the script server:/var/lib/pulse2/imaging/postinst/sysprep/driverscopy Windows10

CopyDrivers

# Runs the script server:/var/lib/pulse2/imaging/postinst/sysprep/driverscopy Windows11

CopyDrivers Windows11

# Seen previously

CopyAgent