-
-
Notifications
You must be signed in to change notification settings - Fork 2
β¨ feat: Add autoinstall.yaml #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
64d4453
Initial plan
Copilot 43ff387
Remove unnecessary directory changes from generate-zsh-completions.sh
Copilot df844e8
Remove unused SCRIPT_DIR variable
Copilot 1e0c989
π docs: Update README
irichu 683f1f8
β¨ feat: Add autoinstall.yaml for Ubuntu desktop setup
irichu fab7454
β¨ feat: Add 'ghostty' to favorite apps
irichu 7290fa0
β¨ feat: Enhance main script with confirmation
irichu 8478022
π Merge pull request #12 from irichu/copilot/sub-pr-11
irichu 44d8648
β¨ feat: Update autoinstall.yaml
irichu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,64 @@ | ||
| autoinstall: | ||
| version: 1 | ||
| identity: | ||
| hostname: ubuntu-desktop | ||
| realname: "User" | ||
| username: user | ||
| password: "$6$EXAMPLE$ABCDEFGHIJKLMNOPQRSTUVWXzyxwvutsrqponmlkjihgfedcba1234567890abcdEFGH" # REPLACE with a real SHA-512 hash, e.g. from: openssl passwd -6 'your-password' (do NOT commit real passwords) | ||
| locale: "en_US.UTF-8" | ||
| #locale: "ja_JP.UTF-8" | ||
| keyboard: | ||
| layout: us | ||
| variant: "" | ||
| toggle: null | ||
| source: | ||
| id: ubuntu-desktop-minimal # ubuntu-server-minimal | ||
| #interactive-sections: | ||
| # - network | ||
| #network: | ||
| # # network configuration (e.g., interfaces, wifi, etc.) | ||
| # version: 2 | ||
| # ethernets: | ||
| # enp0s31f6: | ||
| # dhcp6: true | ||
| #proxy: http://172.16.90.1:3128 | ||
| apt: | ||
| mirror-selection: | ||
| primary: | ||
| - uri: "http://jp.archive.ubuntu.com/ubuntu" | ||
| #- uri: "http://archive.ubuntu.com/ubuntu" | ||
| fallback: abort | ||
| storage: | ||
| layout: | ||
| name: lvm | ||
| sizing-policy: all | ||
| #password: LUKS_PASSPHRASE | ||
| timezone: Asia/Tokyo | ||
| ubuntu-pro: | ||
| # Enable Ubuntu-Pro using a contract token | ||
| # Note that the example below is an invalid contract token. | ||
| #token: "your-ubuntu-pro-contract-token" | ||
| ssh: | ||
| install-server: true | ||
| authorized-keys: | ||
| # replace with the contents of the public key(s) as generated by | ||
| # ssh-keygen or similar tools | ||
| - "<your-public-key>" | ||
| allow-pw: false | ||
| codecs: | ||
| install: false | ||
| packages: | ||
| - build-essential | ||
| - curl | ||
| - git | ||
| - unzip | ||
| - tar | ||
| early-commands: | ||
| - /bin/true | ||
| late-commands: | ||
| - curtin in-target -- bash -c 'echo "user ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/99-user' | ||
irichu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - curtin in-target -- chmod 440 /etc/sudoers.d/99-user | ||
| - curtin in-target -- sudo -H -u user bash -c 'cd "$HOME" && curl -sL https://raw.githubusercontent.com/irichu/dotfiles/main/install.sh | bash && DEBUG=true ~/.local/bin/dots install --apt' | ||
irichu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| error-commands: | ||
| - tar -czf /installer-logs.tar.gz /var/log/installer/ | ||
| - journalctl -b > /installer-journal.log | ||
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.