Commit Graph

21 Commits

Author SHA1 Message Date
Aiden McClelland
9d13c48640 use cloud-init correctly 2022-01-21 20:35:52 -07:00
J M
1086ce13d2 feature: Swapping to use nmcli (#1015)
The reason is that we get better errors and that we get signal strength.
Reworking all the commands to use nmcli instead.
Feat: Wifi List Available
Feat: strength sort for available
fix: Backend to match the frontend asking
feat: New get with all information
chore: Make backend changing country not for NonWire

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
2022-01-21 20:35:52 -07:00
J M
61dbd2a6da fix: Build faster 2022-01-21 20:35:52 -07:00
Keagan McClelland
c8b32b3a5e upgrade all packages before baking image 2022-01-21 20:35:52 -07:00
Aiden McClelland
60c099f352 add ntp 2022-01-21 20:35:52 -07:00
Aiden McClelland
60a48d7af2 allow mdns cifs shares (#933)
* allow mdns cifs shares

* regex and messaging for cifs

* Update install-wizard.component.ts

* refactor

* always include leading slash when saving path

* add avahi-utils

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Aiden McClelland
91840539f9 disable login as ubuntu (#934) 2022-01-21 20:35:52 -07:00
Aiden McClelland
6d6e4c1807 disable bluetooth and unattended upgrades 2022-01-21 20:35:52 -07:00
Aiden McClelland
e6fb74a800 Feature/cloud backups (#889)
* cifs for cloud backups on lan

* password spelling fix

* fix spelling and fix rpc method

* fix other methods

* remove old code and rename method

* add support for cifs backup targets

wip

cifs api

simplify idiom

add doc comment

wip

wip

should work™

* add password hash to server info

* fix type

* fix types for cifs

* minor fixes for cifs feature

* fix rpc structure

* fix copy, address some TODOs

* add subcommand

* backup path and navigation

* wizard edits

* rebased success page

* wiz conflicts resolved

* current change actually

* only unsub if done

* no fileter if necessary

* fix copy for cifs old password

* setup complete (#913)

* setup complete

* minor fixes

* setup.complete

* complete bool

* setup-wizard: complete boolean

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Aiden McClelland
a71d07f353 Bugfix/disable uasp (#878)
* usbstoraged

* set quirks on demand

* remove reference to usbstoraged.service

* comments

* use sysfs instead of modprobe and address comments

* fix ro fs and missing comma

* Apply suggestions from code review

* don't recurse overlayroot

* sleep before reconnect

* reset twice

* sync between writes

* fix build

* fix build

* adds drive to storage quirk whitelist

* long sleep

* another thing to try

* fix: Ensure that the changes take effect

Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
Co-authored-by: Justin Miller <dragondef@gmail.com>
2022-01-21 20:35:52 -07:00
Keagan McClelland
87c10b7fbe sub ifupdown for ifconfig to save cpu power 2022-01-21 20:35:52 -07:00
Aiden McClelland
2a0425e968 switch to LVM + LUKS + ext4 (#747)
* code complete

* misc fixes

* magic
2022-01-21 20:35:52 -07:00
Aiden McClelland
8056285a7f Backups Rework (#698)
* wip: Backup al

* wip: Backup

* backup code complete

* wip

* wip

* update types

* wip

* fix errors

* Backups wizard (#699)

* backup adjustments

* fix endpoint arg

* Update prod-key-modal.page.ts

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>

* build errs addressed

* working

* update backup command input, nix, and apk add

* add ecryptfs-utils

* fix build

* wip

* fixes for macos

* more mac magic

* fix typo

* working

* fixes after rebase

* chore: remove unused imports

Co-authored-by: Justin Miller <dragondef@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
2022-01-21 20:35:52 -07:00
Lucy C
c68342ee10 add system images to os build process (#620)
* update compat build and add to os build process

* copy to explicit file

* fix paths and loading input

* temp save docker images output

* add docker config file to suppress warning

* notes and first attempt of load image script

* pr fixes

* run as root, fix executable path

* wip fixes

* fix pool name and stop docker before umount

* start docker again

* reset docker fs

* remove mkdir

* load system images during embassy-init

* add utils to make build

* fix utils source

* create system-images dir as root

* cleanup

* make loading docker images datadir agnostic

* address PR feedback

* rework load images

* create shutdown channel on failed embassy-init run

* pr feedback

* fix import
2022-01-21 20:35:52 -07:00
Keagan McClelland
786a13fcb3 add wlan0 to avahi conf allowed interfaces 2022-01-21 20:35:52 -07:00
Keagan McClelland
3f30905786 Bugfix/wifi init (#619)
* initializes wifi system correctly

* add packages to initialization

* restart wpa_supplicant after conf file is sync'ed

* fix cli rendering for set_network

* debug statements

* more debug stuff, trim network id on return

* possibly solves all dhcp problems on startup, I wish I understood better why it starts by default for eth0 but not wlan0

* make consistent with new logging
2022-01-21 20:35:52 -07:00
Keagan McClelland
446da8fd81 Update initialization.sh 2022-01-21 20:35:52 -07:00
Keagan McClelland
c573d65179 Update initialization.sh 2022-01-21 20:35:52 -07:00
Keagan McClelland
bae96cde55 Update initialization.sh 2022-01-21 20:35:52 -07:00
Keagan McClelland
96b72e541f Update initialization.sh 2022-01-21 20:35:52 -07:00
kn0wmad
33fe3e1059 Setup Scripts (#472)
* Init commit of setup scripts

* Minor edit

* Script edit and dir rename

* Oops

* Updated README

* Updated scripts/readme

* Additional Script/README updates

* Further Script updates

* BuildGuide updates

* More git fuckery

* Init commit of setup scripts

* Minor edit

* Script edit and dir rename

* Oops

* Updated scripts/readme

* Script/README updates

* Additional Script/README updates

* Script/README edits

* Copy script edit

* Copy script edit

* Filesystem script edit

* More edits

* Guide edit

* Makefile

* fixes ui build scripts to use submodules (#546)

* fix product key generation

Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Keagan McClelland <keagan.mcclelland@gmail.com>
2022-01-21 20:35:52 -07:00