-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup project structure no more http downloads from github (include everything into the iso image) fancy new space motd iso splash screen
- Loading branch information
Showing
13 changed files
with
61 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* text=auto eol=lf | ||
*.png binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJwI2xmLrw4APecukfuLt+nrUNVFzzND/vENsQUTuyQP hub@desktop | ||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILC+4BWoF5BWLjkorHOAyBwvYlZh1iihORMkNcRfmHUB fhuebner@tuxedo |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
. . . . . . . | ||
: . . . . + | ||
-+- ._-o#&&*''''?d:>b\_ * . / , | ||
' ._o/"`'' '',, dMF9MMMMMHo_ O / | ||
+ ..o&#' `"MbHMMMMMMMMMMMHo. . / . | ||
..o"" ' vodM*$&&HMMMMMMMMMM?. . * : | ||
* .,' $M&ood,~'`(&##MMMMMMH\ . | ||
./ ,MMMMMMM#b?#bobMMMMHMMML . . . * | ||
.& ?MMMMMMMMMMMMMMMMM7MMM$R*Hk + . | ||
. ,?$. :MMMMMMMMMMMMMMMMMMM/HMMM|`*L. , | ||
.| |MMMMMMMMMMMMMMMMMMMMbMH' T, . , | ||
.$H#: `*MMMMMMMMMMMMMMMMMMMMb#}' `?, | | ||
]MMH# ""*""""*#MMMMMMMMMMMMM' - . - o - . | ||
, MMMMMb_ |MMMMMMMMMMMP' : . | . | ||
, HMMMMMMMHo `MMMMMMMMMT . . | ||
. ?MMMMMMMMP 9MMMMMMMM} - . . | ||
____^/\___^--____/\___________________/\/\---/\___________---______________ | ||
/\^ ^ ^ ^ ^^ ^ '\ ^ ^ --- | ||
-- - -- - - --- __ ^ | ||
-- __ ___-- ^ ^ -- __ |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -eu | ||
|
||
prefix="/target" | ||
admin="hub" | ||
|
||
# expire user password (password must be set interactively on next login) | ||
# TODO: implement this feature in a way that does not require `passwd` in the installer runtime | ||
#passwd --delete "${admin}" | ||
#passwd --expire "${admin}" | ||
|
||
# custom configs | ||
cp -a "/cdrom/configs/motd" "${prefix}/etc/motd" | ||
cp -a "/cdrom/configs/sshd_config" "${prefix}/etc/ssh/sshd_config" | ||
cp -a "/cdrom/configs/bashrc.bash" "${prefix}/etc/skel/.bashrc" | ||
cp -a "/cdrom/configs/bashrc.bash" "${prefix}/home/${admin}/.bashrc" | ||
|
||
# authorize ssh keys | ||
mkdir -p "${prefix}/home/${admin}/.ssh" | ||
chmod 700 "${prefix}/home/${admin}/.ssh" | ||
cp -a "/cdrom/configs/authorized_keys" "${prefix}/home/${admin}/.ssh/authorized_keys" | ||
chmod 644 "${prefix}/home/${admin}/.ssh/authorized_keys" | ||
|
||
# reset user homedir owner | ||
chown -R "1000:1000" "${prefix}/home/${admin}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes