{"id":14965228,"url":"https://github.com/saltstack/salt-bootstrap","last_synced_at":"2025-05-14T09:09:25.838Z","repository":{"id":5699706,"uuid":"6910286","full_name":"saltstack/salt-bootstrap","owner":"saltstack","description":"Generic Salt Bootstrap Script","archived":false,"fork":false,"pushed_at":"2025-02-24T22:10:43.000Z","size":5549,"stargazers_count":934,"open_issues_count":9,"forks_count":549,"subscribers_count":67,"default_branch":"develop","last_synced_at":"2025-04-03T19:08:32.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saltstack.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-11-28T21:30:33.000Z","updated_at":"2025-03-20T14:06:50.000Z","dependencies_parsed_at":"2023-11-16T21:09:22.979Z","dependency_job_id":"8b5b0233-908c-47dd-ad5a-6304c35e2bea","html_url":"https://github.com/saltstack/salt-bootstrap","commit_stats":{"total_commits":3137,"total_committers":279,"mean_commits":"11.243727598566307","dds":0.543512910423972,"last_synced_commit":"bc0e6be1362f49cea3f431b29e8a9f68075e9e85"},"previous_names":[],"tags_count":109,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack%2Fsalt-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack%2Fsalt-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack%2Fsalt-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saltstack%2Fsalt-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saltstack","download_url":"https://codeload.github.com/saltstack/salt-bootstrap/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248335068,"owners_count":21086507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:34:24.310Z","updated_at":"2025-04-11T03:28:07.452Z","avatar_url":"https://github.com/saltstack.png","language":"Shell","readme":"==================\nBootstrapping Salt\n==================\n\n|build|\n\n.. contents::\n    :local:\n\nBefore `Salt`_ can be used for provisioning on the desired machine, the binaries need to be\ninstalled. Since `Salt`_ supports many different distributions and versions of operating systems,\nthe `Salt`_ installation process is handled by this shell script ``bootstrap-salt.sh``.  This\nscript runs through a series of checks to determine operating system type and version to then\ninstall the `Salt`_ binaries using the appropriate methods. For Windows, use the\n``bootstrap-salt.ps1`` script.\n\n**NOTE**\n\nThis ``README`` file is not the absolute truth as to what the bootstrap script is capable of. For\nthat, please read the generated help by passing ``-h`` to the script or even better,\n`read the source`_.\n\nAlso, to secure your Salt installation, check out these instructions for `hardening salt`_.\n\nOlder versions of Salt prior to 3006 are no longer supported by this bootstrap script as they have\nreached their End-Of-Life. Only onedir-based architecture versions of Salt are supported by this\nbootstrap script.\n\n\nBootstrap\n=========\n\nIn every two-step installation example, you would be well-served to **verify against the SHA256\nsum** of the downloaded ``bootstrap-salt.sh`` file.\n\n.. _sha256sums:\n\nThe SHA256 sum of the ``bootstrap-salt.sh`` file, per release, is:\n\n- 2025.02.24: ``a0e3a58fc6358a7c6f708ee4910229e72fbdab7161819514b0696146a2edb62d``\n- 2024.12.12: ``7cc91adfa5a15ff57d203dc2b79608c773efc639d4e9bf03861198903e11becd``\n- 2024.12.09: ``44f9405a6d9622ad8fa7c93e83a52e01ca328f27e4e9dea4a52268c6a22dbe6d``\n- 2024.11.29: ``0ac87384dee051aceded69704485a5de0e4a308551a462b10c262111b57acff0``\n- 2024.11.27: ``e972bd1ef01d09cd1d9294374ef974c9e3dd9a2aee37cf3859144585fd8bf1d0``\n- 2024.11.26: ``832c7a20b96e1df171d715323df9afff8a11aef42d15598c007f240bc89d723c``\n- 2024.11.21: ``ddf624c3a94d721da3f7629402a6c7ecc9dd96d13c1ead2a626314e97cee982a``\n- 2024.11.07: ``70a9783649e129985563d1a86cf28b8984499643e62ae1dc47dc008bd204fcbb``\n- 2024.09.24: ``88e4e4cad4b115a7b721dd9c21d5ee5df390b5b73b63de48f99399146f43f371``\n- 2024.07.23: ``7212b6b497b5c3d2bf15bfe5301625ec7bc1bf3e2949cd47d8e2073614935bf8``\n- 2024.07.18: ``92a74e7ff8a9032a7713c2b3955991d66aaca08a4eb9494ce3dd66b5044f6bc3``\n- 2024.07.16: ``4f76d1549c71d696a605f97645d8633b6269c4d9ae54b1fbdfedca1dcf893e7a``\n- 2024.07.12: ``526f4a5383db308081a120e26988679238ca6add4bf7a82120cbe71d57ab826e``\n- 2024.04.03: ``450ba5cde4af8d6cb5c56c66791f87b918bcda70ccdfb10abf3cc294143c8073``\n- 2024.01.04: ``cebcbc67895e238d1cf0024922a7fe5c772b9aaba346490c8fa6193bb0d993d4``\n- 2023.11.16: ``3757ed82161113fed4c711fd7332e922265eeeb54e6e4f657a08ea82d57cc3a2``\n- 2023.11.07: ``91f8a3bfb8b14476f7793c7f20cec7bfc638c10c073786f9a8904a858a929784``\n- 2023.08.03: ``963e559bdb85adecfbbec2c3b81190392bc59b24992e4491e919cd748eeafcb8``\n- 2023.07.25: ``eaaaadaed40fe2e791d59a9e48f24449428a35ca61782d9139f1272c05524323``\n- 2023.06.28: ``f45f5da8abee27ef385131f5cfa9382d3a15863d0a05688a0404d2f057b27776``\n- 2023.04.26: ``516fa9cc2e258cb8484ff360b9674b46918f657985c21ca9301e42a3dd263d60``\n- 2023.04.21: ``e364428aa7a25f8e2c5e18e36e222351724c6cf35a1d57158f3357cde1e0a0f0``\n- 2023.04.06: ``994bf7e8bd92fe6d70d291c7562aff299f5651046b4e76dfa506cee0d9bb0843``\n\nIf you're looking for a *one-liner* to install Salt, please scroll to the bottom and use the\ninstructions for `Installing via an Insecure One-Liner`_.\n\nThere are also .sha256 files for verifying against in the repo for the stable branch.  You can also\nget the correct sha256 sum for the stable release from\nhttps://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh.sha256 and\nhttps://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.ps1.sha256\n\nContributing\n------------\n\nThe Salt Bootstrap project is open and encouraging to code contributions. Please review the\n`Contributing Guidelines`_ for information on filing issues, fixing bugs, and submitting features.\n\nThe `Contributing Guidelines`_ also contain information about the Bootstrap release cadence and\nprocess.\n\nExamples\n--------\n\nTo view the latest options and descriptions for ``salt-bootstrap``, use ``-h`` and the terminal:\n\n.. code:: console\n\n  ./salt-bootstrap.sh -h\n\n  Usage :  bootstrap-salt.sh [options] \u003cinstall-type\u003e [install-type-args]\n\n  Installation types:\n    - stable               Install latest stable release. This is the default\n                           install type\n    - stable [branch]      Install latest version on a branch. Only supported\n                           for packages available at packages.broadcom.com\n    - stable [version]     Install a specific version. Only supported for\n                           packages available at packages.broadcom.com\n                           To pin a 3xxx minor version, specify it as 3xxx.0\n    - testing              RHEL-family specific: configure EPEL testing repo\n    - git                  Install from the head of the master branch\n    - git [ref]            Install from any git ref (such as a branch, tag, or\n                           commit)\n    - onedir               Install latest onedir release.\n    - onedir [version]     Install a specific version. Only supported for\n                           onedir packages available at packages.broadcom.com\n\n    - onedir_rc            Install latest onedir RC release.\n    - onedir_rc [version]  Install a specific version. Only supported for\n                           onedir RC packages available at packages.broadcom.com\n\n  Examples:\n    - bootstrap-salt.sh\n    - bootstrap-salt.sh stable\n    - bootstrap-salt.sh stable 3006\n    - bootstrap-salt.sh stable 3006.1\n    - bootstrap-salt.sh testing\n    - bootstrap-salt.sh git\n    - bootstrap-salt.sh git 3006.7\n    - bootstrap-salt.sh git v3006.8\n    - bootstrap-salt.sh git 3007.1\n    - bootstrap-salt.sh git v3007.1\n    - bootstrap-salt.sh git 06f249901a2e2f1ed310d58ea3921a129f214358\n    - bootstrap-salt.sh onedir\n    - bootstrap-salt.sh onedir 3006\n    - bootstrap-salt.sh onedir_rc\n    - bootstrap-salt.sh onedir_rc 3008\n\n\n  Options:\n    -a  Pip install all Python pkg dependencies for Salt. Requires -V to install\n        all pip pkgs into the virtualenv.\n        (Only available for Ubuntu based distributions)\n    -A  Pass the salt-master DNS name or IP. This will be stored under\n        \\${BS_SALT_ETC_DIR}/minion.d/99-master-address.conf\n    -b  Assume that dependencies are already installed and software sources are\n        set up. If git is selected, git tree is still checked out as dependency\n        step.\n    -c  Temporary configuration directory\n    -C  Only run the configuration function. Implies -F (forced overwrite).\n        To overwrite Master, Syndic or Api configs, -M,-S or -W, respectively, must\n        also be specified. Salt installation will be ommitted, but some of the\n        dependencies could be installed to write configuration with -j or -J.\n    -d  Disables checking if Salt services are enabled to start on system boot.\n        You can also do this by touching /tmp/disable_salt_checks on the target\n        host. Default: \\${BS_FALSE}\n    -D  Show debug output\n    -f  Force shallow cloning for git installations.\n        This may result in an \"n/a\" in the version number.\n    -F  Allow copied files to overwrite existing (config, init.d, etc)\n    -g  Salt Git repository URL. Default: https://github.com/saltstack/salt.git\n    -h  Display this message\n    -H  Use the specified HTTP proxy for all download URLs (including https://).\n        For example: http://myproxy.example.com:3128\n    -i  Pass the salt-minion id. This will be stored under\n        \\${BS_SALT_ETC_DIR}/minion_id\n    -I  If set, allow insecure connections while downloading any files. For\n        example, pass '--no-check-certificate' to 'wget' or '--insecure' to\n        'curl'. On Debian and Ubuntu, using this option with -U allows obtaining\n        GnuPG archive keys insecurely if distro has changed release signatures.\n    -j  Replace the Minion config file with data passed in as a JSON string. If\n        a Minion config file is found, a reasonable effort will be made to save\n        the file with a \".bak\" extension. If used in conjunction with -C or -F,\n        no \".bak\" file will be created as either of those options will force\n        a complete overwrite of the file.\n    -J  Replace the Master config file with data passed in as a JSON string. If\n        a Master config file is found, a reasonable effort will be made to save\n        the file with a \".bak\" extension. If used in conjunction with -C or -F,\n        no \".bak\" file will be created as either of those options will force\n        a complete overwrite of the file.\n    -k  Temporary directory holding the minion keys which will pre-seed\n        the master.\n    -K  If set, keep the temporary files in the temporary directories specified\n        with -c and -k\n    -l  Disable ssl checks. When passed, switches \"https\" calls to \"http\" where\n        possible.\n    -L  Also install salt-cloud and required python-libcloud package\n    -M  Also install salt-master\n    -n  No colours\n    -N  Do not install salt-minion\n    -p  Extra-package to install while installing Salt dependencies. One package\n        per -p flag. You are responsible for providing the proper package name.\n    -P  Allow pip based installations. On some distributions the required salt\n        packages or its dependencies are not available as a package for that\n        distribution. Using this flag allows the script to use pip as a last\n        resort method. NOTE: This only works for functions which actually\n        implement pip based installations.\n    -q  Quiet salt installation from git (setup.py install -q)\n    -Q  Quickstart, install the Salt master and the Salt minion.\n        And automatically accept the minion key.\n    -R  Specify a custom repository URL. Assumes the custom repository URL\n        points to a repository that mirrors Salt packages located at\n        packages.broadcom.com. The option passed with -R replaces the\n        \"packages.broadcom.com\". If -R is passed, -r is also set. Currently only\n        works on CentOS/RHEL and Debian based distributions and macOS.\n    -s  Sleep time used when waiting for daemons to start, restart and when\n        checking for the services running. Default: 3\n    -S  Also install salt-syndic\n    -r  Disable all repository configuration performed by this script. This\n        option assumes all necessary repository configuration is already present\n        on the system.\n    -U  If set, fully upgrade the system prior to bootstrapping Salt\n    -v  Display script version\n    -V  Install Salt into virtualenv\n        (only available for Ubuntu based distributions)\n    -W  Also install salt-api\n    -x  Changes the Python version used to install Salt (default: Python 3).\n        Python 2.7 is no longer supported.\n    -X  Do not start daemons after installation\n\nThe Salt Bootstrap script has a wide variety of options that can be passed as\nwell as several ways of obtaining the bootstrap script itself. Note that the use of ``sudo``\nis not needed when running these commands as the ``root`` user.\n\n**NOTE**\n\nThe examples below show how to bootstrap Salt directly from GitHub or another Git repository.\nRun the script without any parameters to get latest stable Salt packages for your system from\nthe `Salt Project's repository`_. See first example in the `Install using wget`_ section.\n\n\nInstall using curl\n~~~~~~~~~~~~~~~~~~\n\nIf you want to install a package of a specific release version, from the Salt Project repo:\n\n.. code:: console\n\n  curl -o bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh -P stable 3006.1\n\nIf you want to install a specific release version, based on the Git tags:\n\n.. code:: console\n\n  curl -o bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh git v3006.1\n\nUsing ``curl`` to install latest development version from GitHub:\n\n.. code:: console\n\n  curl -o bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh git master\n\nTo install a specific branch from a Git fork:\n\n.. code:: console\n\n  curl -o bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh -g https://github.com/myuser/salt.git git mybranch\n\nIf all you want is to install a ``salt-master`` using latest Git:\n\n.. code:: console\n\n  curl -o bootstrap-salt.sh -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh -M -N git master\n\nIf your host has Internet access only via HTTP proxy, from the Salt Project repo:\n\n.. code:: console\n\n  PROXY='http://user:password@myproxy.example.com:3128'\n  curl -o bootstrap-salt.sh -L -x \"$PROXY\" https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh -P -H \"$PROXY\" stable\n\nIf your host has Internet access only via HTTP proxy, installing via Git:\n\n.. code:: console\n\n  PROXY='http://user:password@myproxy.example.com:3128'\n  curl -o bootstrap-salt.sh -L -x \"$PROXY\" https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh -H \"$PROXY\" git\n\n\nInstall using wget\n~~~~~~~~~~~~~~~~~~\n\nUsing ``wget`` to install your distribution's stable packages:\n\n.. code:: console\n\n  wget -O bootstrap-salt.sh https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh\n\nInstalling a specific version from git using ``wget``:\n\n.. code:: console\n\n  wget -O bootstrap-salt.sh https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh git v3006.8\n\nInstalling a specific version package from the Salt Project repo using ``wget``:\n\n.. code:: console\n\n  wget -O bootstrap-salt.sh https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh -P stable 3006.8\n\n**NOTE**\n\nOn the above examples we added ``-P`` which will allow PIP packages to be installed if required.\nHowever, the ``-P`` flag is not necessary for Git-based bootstraps.\n\n\nInstall using Python\n~~~~~~~~~~~~~~~~~~~~\n\nIf you already have Python installed, ``python 3.10``, then it's as easy as:\n\n.. code:: console\n\n  python -m urllib \"https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\" \u003e bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh -P stable 3006.1\n\nWith python version 3:\n\n.. code:: console\n\n  python3 -c 'import urllib.request; print(urllib.request.urlopen(\"https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh\").read().decode(\"ascii\"))' \u003e bootstrap-salt.sh\n  sudo sh bootstrap-salt.sh git v3006.1\n\nNote: Python 2.x is no longer supported given it reached it's End-Of-Life Jan. 1st, 2020\n\n\nInstalling via an Insecure One-Liner\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThe following examples illustrate how to install Salt via a one-liner.\n\n**NOTE**\n\nWarning! These methods do not involve a verification step and assume that the delivered file is\ntrustworthy.\n\nAny of the examples above which use two lines can be made to run in a single-line\nconfiguration with minor modifications.\n\nInstalling the latest stable release of Salt (default):\n\n.. code:: console\n\n  curl -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh | sudo sh\n\nUsing ``wget`` to install your distribution's stable packages:\n\n.. code:: console\n\n  wget -O - https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh | sudo sh\n\nInstalling a target version package of Salt from the Salt Project repo:\n\n.. code:: console\n\n  curl -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh | sudo sh -s -- stable 3006.8\n\nInstalling the latest master branch of Salt from git:\n\n.. code:: console\n\n  curl -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh | sudo sh -s -- git master\n\nNote: use of git is recommended for development environments, for example: testing new features of\nSalt which have not yet been released.\nIt is recommended that production environments should use ``stable``.\n\n\nInstall on Windows\n~~~~~~~~~~~~~~~~~~\n\nUsing ``PowerShell`` to install latest stable version:\n\n.. code:: powershell\n\n  [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12'\n  Invoke-WebRequest -Uri https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.ps1 -OutFile \"$env:TEMP\\bootstrap-salt.ps1\"\n  Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force; \u0026 \"$env:TEMP\\bootstrap-salt.ps1\"\n\nDisplay information about the install script parameters:\n\n.. code:: powershell\n\n  Get-Help $env:TEMP\\bootstrap-salt.ps1 -Detailed\n\nUsing ``cygwin`` to install latest stable version:\n\n.. code:: console\n\n  curl -o bootstrap-salt.ps1 -L https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.ps1\n  \"/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0/powershell.exe\" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ./bootstrap-salt.ps1\"\n\n\nSupported Operating Systems\n---------------------------\n\nThe salt-bootstrap script officially supports the distributions outlined in\n`Salt's Supported Operating Systems\n\u003chttps://docs.saltproject.io/salt/install-guide/en/latest/topics/salt-supported-operating-systems.html\u003e`_\ndocument, (BSD-based OSs, Solaris and AIX are no longer supported).\nThe operating systems listed below should reflect this document but may become out of date.\nIf an operating system is listed below, but is not listed on the official supported operating\nsystems document, the level of support is \"best-effort\".\n\nSince Salt is written in Python, the packages available from the `Salt Project's repository\n\u003cpackages.broadcom.com\u003e`_ are\nCPU architecture independent and could be installed on any hardware supported by Linux kernel.\nHowever, the Salt Project does package Salt's binary dependencies only for ``x86_64`` (``amd64``)\nand ``AArch64`` (``arm64``).\n\nIt is recommended to use ``git`` bootstrap mode as described above to install Salt on other\narchitectures, such as ``x86`` (``i386``) or ``ARM EABI`` (``armel``).\nYou also may need to disable repository configuration and allow ``pip`` installations by providing\n``-r`` and ``-P`` options to the bootstrap script, i.e.:\n\n.. code:: console\n\n  sudo sh bootstrap-salt.sh -r -P git master\n\n**NOTE**\n\nBootstrap may fail to install Salt on the cutting-edge version of distributions with frequent\nrelease cycles such as: Amazon Linux, Fedora, openSUSE Tumbleweed, or Ubuntu non-LTS. Check the\nversions from the list below. Also, see the `Unsupported Distro`_ section.\n\n\nDebian and derivatives\n~~~~~~~~~~~~~~~~~~~~~~\n\n- Cumulus Linux 2/3\n- Debian GNU/Linux 9/10/11/12\n- Devuan GNU/Linux 1/2/3/4/5\n- Kali Linux 1.0 (based on Debian 7)\n- Linux Mint Debian Edition 1 (based on Debian 8)\n\n\nRed Hat family\n~~~~~~~~~~~~~~\n\n- Amazon Linux 2\n- Amazon Linux 2023\n- CentOS 8/9\n- Cloud Linux 6/7\n- Fedora 40 (install latest stable from standard repositories)\n- Oracle Linux 8/9\n- Red Hat Enterprise Linux 8/9\n- Scientific Linux 8/9\n\n\nSUSE family\n~~~~~~~~~~~\n\n- openSUSE Leap 15 (see note below)\n- openSUSE Leap 42.3\n- openSUSE Tumbleweed 2015\n- SUSE Linux Enterprise Server 11 SP4, 12 SP2\n\n**NOTE:** Leap 15 installs Python 3 Salt packages by default. Salt is packaged by SUSE, and\nLeap 15 ships with Python 3.\n\n.. code:: console\n\n    sh bootstrap-salt.sh -x python3 git v3006.1\n\n\nUbuntu and derivatives\n~~~~~~~~~~~~~~~~~~~~~~\n\n- KDE neon (based on Ubuntu 20.04/22.04/24.04)\n- Linux Mint 17/18\n\nUbuntu Best Effort Support: Non-LTS Releases\n********************************************\n\nThis script provides best-effort support for current, non-LTS Ubuntu releases. If package\nrepositories are not provided on the `Salt Project's Ubuntu repository`_ for the non-LTS release,\nthe bootstrap script will attempt to install the packages for the most closely related LTS Ubuntu\nrelease instead.\n\nFor example, when installing Salt on Ubuntu 24.10, the bootstrap script will setup the repository\nfor Ubuntu 24.04 from the `Salt Project's Ubuntu repository`_ and install the 24.04 packages.\n\nNon-LTS Ubuntu releases are not supported once the release reaches End-of-Life as defined by\n`Ubuntu's release schedule`_.\n\n\nOther Linux distributions\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\n- Alpine Linux 3.5/edge\n- Arch Linux\n- Gentoo\n\n\nUNIX systems\n~~~~~~~~~~~~\n\n**BSD**:\n\n- No longer supported\n\n**SunOS**:\n\n- No longer supported\n\n\nUsing a custom salt bootstrap\n-----------------------------\n\nBy default the ``salt-cloud -p`` provisioning command will use the latest release from this\nrepository to bootstrap new minions. If\n\n- your needs are not met by that script,\n- you want to lock salt bootstrap to a specific release, or\n- you want to use an unreleased development version of this script\n\nyou can add your bootstrap-salt script to your salt cloud configuration and point to it with the\n``script`` attribute.\n\n`Read more`: https://docs.saltproject.io/en/latest/topics/cloud/deploy.html\n\n\nUnsupported Distributions\n-------------------------\n\nIf you are running a Linux distribution that is not supported yet or is not correctly identified,\nplease run the following commands and report their output when creating an issue:\n\n.. code:: console\n\n  sudo find /etc/ -name \\*-release -print -exec cat {} \\;\n  command lsb_release -a\n\nFor information on how to add support for a currently unsupported distribution, please refer to the\n`Contributing Guidelines`_.\n\nTesting\n-------\n\nThere are a couple of ways to test the bootstrap script. Running the script on a fully-fledged\nVM is one way. Other options include using Vagrant or Docker.\n\nTesting in Vagrant\n==================\n\nVagrant_ can be used to easily test changes on a clean machine. The ``Vagrantfile`` defaults to an\nUbuntu box. First, install Vagrant, then:\n\n.. code:: console\n\n  vagrant up\n  vagrant ssh\n\nRunning in Docker\n=================\n\nIt is possible to run and use Salt inside a Docker_ container on Linux machines.\nLet's prepare the Docker image using the provided ``Dockerfile`` to install both a Salt Master\nand a Salt Minion with the bootstrap script:\n\n.. code:: console\n\n  docker build -t local/salt-bootstrap .\n\nStart your new container with Salt services up and running:\n\n.. code:: console\n\n  docker run --detach --name salt --hostname salt local/salt-bootstrap\n\nAnd finally \"enter\" the running container and make Salt fully operational:\n\n.. code:: console\n\n  docker exec -i -t salt /bin/bash\n  salt-key -A -y\n\nSalt is ready and working in the Docker container with the Minion authenticated on the Master.\n\n**NOTE**\n\nThe ``Dockerfile`` here inherits the Ubuntu 20.04 public image. Use it as an example or starting\npoint of how to make your own Docker images with suitable Salt components, custom configurations,\nand even `pre-accepted Minion keys`_ already installed.\n\n.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=2 sw=2 et\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaltstack%2Fsalt-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaltstack%2Fsalt-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaltstack%2Fsalt-bootstrap/lists"}