mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 09:57:17 +01:00
fix adduser + maintenance tasks (#4172)
* fix: add --shell /bin/bash to adduser * joininbox update to v0.8.1 and install fixes * CLN update to v23.08.1 * bos update to 15.8.14, improve menu * lnproxy: deactivate in menu and provision * copy the skeleton files for user used with login * deprecate loop single install further do not install in any case the uninstall option is still used * deprecate faraday single install further do not install in any case the uninstall option is still used * deprecate pool single install further do not install in any case the uninstall option is still used * bos: minimize changes to script * only add --bash oprion to users intended for login * add info to CHANGES * add sudo to non-privileged scripts * bos: don't download source * ci: run apt update before qemu install
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
# install packer
|
||||
if ! packer version 2>/dev/null; then
|
||||
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
|
||||
@@ -11,8 +13,11 @@ else
|
||||
echo "# Packer is installed"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# install qemu
|
||||
echo -e "\nInstalling qemu..."
|
||||
echo "# Install qemu ..."
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y qemu-system
|
||||
|
||||
# set vars
|
||||
@@ -20,7 +25,7 @@ source ../set_variables.sh
|
||||
set_variables "$@"
|
||||
|
||||
# Build the image
|
||||
echo -e "\nBuilding the image..."
|
||||
echo "# Build the image ..."
|
||||
cd debian
|
||||
packer init -upgrade .
|
||||
command="PACKER_LOG=1 packer build ${vars} -only=qemu packer.build.amd64-debian.hcl"
|
||||
|
||||
Reference in New Issue
Block a user