The net-tools package is not installed Suse OS baseline
./salter.sh: line 196: hostname: command not found
cloning salter from saltstack-formulas ...
./salter.sh: line 196: hostname: command not found
Note: 'hostname -f' is not working ...
Unless you are using bind or NIS for host lookups you could change the
FQDN (Fully Qualified Domain Name) and the DNS domain name (which is
part of the FQDN) in the /etc/hosts. Meanwhile, I'll use short hostname.
./salter.sh: line 210: hostname: command not found
Example usage:
salter add PROFILE...
salter edit PROFILE...
salter show PROFILE...
salter remove PROFILE...
Synopsis:
sudo ./salter.sh add PROFILE [ OPTIONS ] [ -u username ]
sudo ./salter.sh add PROFILE [ OPTIONS ]
sudo ./salter.sh remove PROFILE [ OPTIONS ]
sudo ./salter.sh edit PROFILE [ OPTIONS ]
sudo ./salter.sh show PROFILE [ OPTIONS ]
Profiles:
PROFILE Add profile named PROFILE
Options:
[-u <username>]
A Loginname (current or corporate or root user).
Optional for MacOS and many Linux profiles
but not required on MacOS
[-l <all|debug|warning|error|quiet]
Optional log-level (default warning)
Salter Installer
sudo salter bootstrap re-bootstrap Salt
sudo salter add salter re-bootstrap Salter
add salter failed
vagrant@localhost:~> which hostmame
which: no hostmame in (/home/vagrant/bin:/usr/local/bin:/usr/bin:/bin)
Steps to reproduce the bug
vagrant init
vagran up
Logon and run Salter
sudo zypper in git && curl -o salter.sh https://raw.githubusercontent.com/saltstack-formulas/salter/master/salter.sh && sudo bash salter.sh add bootstrap && sudo bash salter.sh add salter
Attempts to fix the bug
vagrant@localhost:~/salt-desktop> sudo zypper in net-tools -y
Loading repository data...
Reading installed packages...
'-y' not found in package names. Trying capabilities.
No provider of '-y' found.
Resolving package dependencies...
The following 2 NEW packages are going to be installed:
hostname net-tools
2 new packages to install.
Overall download size: 84.6 KiB. Already cached: 0 B. After the operation, additional 177.6 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package hostname-3.21-1.5.x86_64 (1/2), 23.6 KiB ( 36.0 KiB unpacked)
Retrieving: hostname-3.21-1.5.x86_64.rpm ........................................................................[done]
Retrieving package net-tools-2.0+git20180626.aebd88e-2.1.x86_64 (2/2), 60.9 KiB (141.6 KiB unpacked)
Retrieving: net-tools-2.0+git20180626.aebd88e-2.1.x86_64.rpm ....................................................[done]
Checking for file conflicts: ....................................................................................[done]
(1/2) Installing: hostname-3.21-1.5.x86_64 ......................................................................[done]
(2/2) Installing: net-tools-2.0+git20180626.aebd88e-2.1.x86_64 ..................................................[done]
The installation has completed with error.
Your setup
Formula commit hash / release tag
master
Bug details
Describe the bug
The net-tools package is not installed Suse OS baseline
Steps to reproduce the bug
vagrant init
vagran up
Logon and run Salter
sudo zypper in git && curl -o salter.sh https://raw.githubusercontent.com/saltstack-formulas/salter/master/salter.sh && sudo bash salter.sh add bootstrap && sudo bash salter.sh add salter
Attempts to fix the bug
Additional context