State Files Without the REMnux Installer
Last updated
Last updated
The best way to install, upgrade, or update your REMnux system is usually to use the . However, sometimes you might want to invoke the underlying Salt state files directly, perhaps when experimenting with REMnux or when getting around some deficiency of the REMnux installer.
The Salt state files for the REMnux distro are grouped into "bundles," so it's easier to trigger the installation or upgrade without directly referring to every individual tool's SaltStack state file:
installs the state files for without changing its look and feel. This corresponds to the --mode=addon
parameter to the REMnux installer.
installs the state files for in a local lab. This applies the same state files as addon.sls, but also invokes the "theme" state file to adjust the system's configuration for the full REMnux experience. This corresponds to the --mode=dedicated
parameter to the REMnux installer, and is the default if --mode
isn't specified.
installs the state files for setting up a dedicated REMnux system in a cloud environment. This applies the same state files as dedicated.sls, except it doesn't disable the SSH daemon, which many people use for remote access. This corresponds to the --mode=cloud
parameter to the REMnux installer
If you decide to interact with REMnux' Salt state files without the REMnux installer, first make sure a recent version of SaltStack is installed by executing the following commands, assuming you're using Ubuntu 20.04 (Focal) as the base OS:
You can invoke SaltStack's salt-call
utility to install the desired state file grouping. For example, for "dedicated" you'd use the command:
The parameter -l debug
to the salt-call
command provides verbose debug-level output of the operation. You can skip this parameter if you don't want that level of detail.
By the way, if the name of your current user isn't remnux
, you'll need to specify the following parameter to the salt-call
command:
Replace YOUR_USERNAME
with your username. This is equivalent to the --user=YOUR_USERNAME
optional parameter to the REMnux installer. The REMnux installer automatically invokes salt-call
by specifying the name of the currently-logged in user, but you'll need to specify this yourself if running salt-call
directly.
You can retrieve REMnux' Salt state files, by downloading the desired state file archive from or clone the repo like this: