install wizard project (#1893)

* install wizard project

* reboot endpoint

* Update frontend/projects/install-wizard/src/app/pages/home/home.page.ts

Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>

* Update frontend/projects/install-wizard/src/app/pages/home/home.page.ts

Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>

* Update frontend/projects/install-wizard/src/app/pages/home/home.page.ts

Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>

* update build

* fix build

* backend portion

* increase image size

* loaded

* dont auto resize

* fix install wizard

* use localhost if still in setup mode

* fix compat

Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
Matt Hill
2022-11-07 07:30:57 -07:00
committed by Aiden McClelland
parent bc23129759
commit a2f65de1ce
46 changed files with 2309 additions and 869 deletions

View File

@@ -22,7 +22,11 @@ user_pref("dom.securecontext.whitelist_onions", true);
user_pref("signon.rememberSignons", false);
EOT
matchbox-window-manager -use_titlebar yes &
firefox-esr --kiosk http://$(hostname).local --profile $PROFILE
if [ "$(hostname)" == "embassy" ]; then
firefox-esr --kiosk http://localhost --profile $PROFILE
else
firefox-esr --kiosk https://$(hostname).local --profile $PROFILE
fi
rm -rf $PROFILE
EOF
chmod +x /home/start9/kiosk.sh

View File

@@ -12,7 +12,7 @@ function partition_for () {
OSDISK=$1
if [ -z "$OSDISK" ]; then
>&2 echo 'usage: embassy-install <TARGET DISK>'
>&2 echo "usage: $0 <TARGET DISK>"
exit 1
fi
@@ -37,7 +37,7 @@ if [ -z "$ETH_IFACE" ]; then
fi
(
echo o # GPT
echo o # MBR
echo n # New Partition
echo p # Primary
echo 1 # Index #1