edb-debugger:
specifies the name of the Ubuntu package that SaltStack should install. The pkgrepo: remnux
line specifies that SaltStack will find this package in the Ubuntu package repository named "remnux." The require
statement explains that this package depends on "xterm." The distro also includes state files that explain SaltStack should install the remnux repository and the xterm package.file.managed
specifies the desired state of the Ghidra "preferences" file, located in the user's home directory. source
of the file is the version of "preferences" in the GitHub repository where this state file resides; this directs SaltStack to copy this file to the location specified by name
. replace
directs SaltStack not to replace the file if it already exists.user
and group
specify that the file should be owned by the user and the user's group.makedirs
direct SaltStack to create the directory structure so the file can be placed in the location specified by name
.home
and user
, which are set earlier in the file:user
value by retrieving the pillar variable named remnux_user
, which is normally set by the REMnux installer; if it's not available, SaltStack is directed to use the default value "remnux." Further, depending on the user
value, the state file sets the home
value to point to the user's home directory.