[debian12] feat: added sudo and made debconf noninteractive
This commit is contained in:
parent
bc76cca86c
commit
ab342f39eb
@ -1,6 +1,12 @@
|
|||||||
|
# environment vars
|
||||||
|
DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
# make debconf noninteractive
|
||||||
|
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
||||||
|
|
||||||
# update guest
|
# update guest
|
||||||
apt-get update
|
apt-get update
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
|
apt-get upgrade -y
|
||||||
apt-get autoremove -y
|
apt-get autoremove -y
|
||||||
|
|
||||||
# install packages
|
# install packages
|
||||||
|
Loading…
Reference in New Issue
Block a user