feat(installer): rewrite install script

- remove unused root packages.ini
- write config to yaml file
- allow to set public_url during install
- force icecast start right after package install
- move config file in place at the end of installation

BREAKING CHANGE: The bash installer has been rewritten, the flags and
options changed, please run `./install --help` to get more details.
This commit is contained in:
jo 2022-05-23 17:16:02 +02:00 committed by Kyle Robbertze
parent aed6d2f294
commit ee98387264
13 changed files with 712 additions and 1245 deletions

15
Vagrantfile vendored
View file

@ -72,16 +72,15 @@ Vagrant.configure('2') do |config|
path: 'installer/vagrant/%s' % prepare_script
$script = <<-SCRIPT
set -e
cd /vagrant
./install \
--force \
bash install \
--listen-port 8080 \
--allow-restart \
--in-place \
--verbose \
--postgres \
--apache \
--icecast \
--web-port=8080 \
#{install_args}
http://192.168.10.100:8080
SCRIPT
config.vm.provision 'install', type: 'shell', inline: $script