Please open issues over at the SIFT Repository with prefix '[SALTSTACK]'
- Ubuntu 16.04 (Xenial)
- Ubuntu 18.04 (Bionic) - In Testing
Use the sift-cli tool.
Status: Beta
There are two primary modes, desktop
and server
in step 4 the example shows desktop, simply swap that word out for server if you want to see the server mode.
- Ubuntu 18.04
- Install SaltStack for 18.04 (Bionic) (See 18.04 instructions below)
sudo git clone https://github.com/teamdfir/sift-saltstack.git /srv/salt
sudo salt-call --local state.sls sift.desktop pillar='{"sift_version": "dev", "sift_user": "REPLACE_WITH_YOUR_USERNAME"}'
Important: Make sure you replace the REPLACE_WITH_YOUR_USERNAME
with your actual username that you are running.
Desktop Note: If you are installing desktop mode, please make sure you run all the commands from a terminal within the Desktop environment.
It is hightly recommended that you use the sift-cli tool to install, update and upgrade SIFT.
- Ubuntu 16.04 Machine
- Install Saltstack (see below)
- Import the PGP Key - gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys 22598A94
- Download the latest signed releases files
- Verify the latest signed release files with GPG
- Extract the
.tar.gz
file to/tmp/salt
(make sure this README.md is in the root of /tmp/salt) sudo salt-call -l info --local --file-root=/tmp/salt state.apply sift.vm
You have full control over what you want to install from the SIFT distro. To really get a good understanding of what you can and cannot do I would encourage you to learn more about Saltstack.
This is intended to replace Step 4 from above. This will install just the deb packages and python packages that makes up the SIFT distro, it will not create any users, change backgrounds, or any other customization of the linux install you are on.
sudo salt-call -l info --local --file-root=/tmp/salt state.apply sift.pkgs
wget -O - https://repo.saltstack.com/apt/ubuntu/18.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
echo "deb http://repo.saltstack.com/apt/ubuntu/18.04/amd64/2018.3 bionic main" | sudo tee /etc/apt/sources.list.d/saltstack.list
sudo apt-get update
sudo apt-get install salt-minion
sudo service salt-minion stop
Note: the SIFT install process will disable the minion altogether as we do not need it running as a service
Reference: http://repo.saltstack.com/#ubuntu
wget -O - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
echo "deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest xenial main" | sudo tee /etc/apt/sources.list.d/saltstack.list
sudo apt-get update
sudo apt-get install salt-minion
sudo service salt-minion stop
(Note: the SIFT install process will disable the minion altogether as we do not need it running as a service)