__netbox: auto-install sudo as dependency
There are may be systems does not have `sudo` preinstalled like debian-minimal. Else, `su` could be used as alternative.
This commit is contained in:
parent
9fb3c7f52e
commit
ee3db10ecf
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ case "$os" in
|
||||||
debian|ubuntu)
|
debian|ubuntu)
|
||||||
# Install netbox dependencies.
|
# Install netbox dependencies.
|
||||||
for pkg in python3-pip python3-venv python3-dev build-essential libxml2-dev \
|
for pkg in python3-pip python3-venv python3-dev build-essential libxml2-dev \
|
||||||
libxslt1-dev libffi-dev libpq-dev libssl-dev zlib1g-dev curl virtualenv; do
|
libxslt1-dev libffi-dev libpq-dev libssl-dev zlib1g-dev curl virtualenv sudo; do
|
||||||
__package $pkg
|
__package $pkg
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue