-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade playbook to 24.04 and Fix for Apple M4 and java (#37)
# Summary This PR adds many things: * Upgrade sandbox to 24.04 * Fix issues on Apple M4 and macOS 15.2 with Java. More information [here](https://forum.parallels.com/threads/parallels-desktop-for-mac-computers-with-apple-silicon-m4-chips.365676/page-8#post-936240) or [here](corretto/corretto-21#85) * Update Vagrantfile to use `.fetch` to avoid unspecified parameters * Disables ipv6 * Removes unwanted packages such as `whoopsie`, `apport`, ... * Improves `apt` ansible instructions with caching There is an issue with `protonvpn-cli` on Ubuntu 24.04 with `python3.12` when we run `protonvpn-cli login`. It's likely related to incompatibilities with python3.12 and older versions. I documented a workaround where login works with a proxy (burp here).
- Loading branch information
Showing
10 changed files
with
137 additions
and
32 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
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
Empty file.
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 @@ | ||
# https://askubuntu.com/questions/309461/how-to-disable-ipv6-permanently | ||
GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} ipv6.disable=1" |
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,4 @@ | ||
# there is currently an issue with Apple M4 and macOS 15.2 with java | ||
# see https://forum.parallels.com/threads/parallels-desktop-for-mac-computers-with-apple-silicon-m4-chips.365676/page-8#post-936240 | ||
# also https://github.com/corretto/corretto-21/issues/85 | ||
GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} arm64.nosve" |
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,22 @@ | ||
- hosts: all | ||
gather_facts: yes | ||
become: yes | ||
handlers: | ||
- name: Update GRUB configuration | ||
ansible.builtin.command: update-grub | ||
tasks: | ||
- name: Copy files to /etc/grub.d/ | ||
copy: | ||
src: "{{ item }}" # Path to the source file on the control node | ||
dest: "/etc/default/grub.d/" # Path to the destination on the target node | ||
owner: root | ||
group: root | ||
mode: 0755 | ||
with_fileglob: | ||
- "files/grub.d/*.cfg" | ||
notify: | ||
- Update GRUB configuration | ||
- name: | ||
ansible.builtin.debug: | ||
msg: | | ||
"Please reboot the system to apply the 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
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,31 @@ | ||
packages: | ||
# GUI | ||
- ubuntu-desktop # this is for gnome4 | ||
# base tools | ||
- zsh | ||
- vim-gtk3 | ||
- terminator | ||
- kmod | ||
- unzip | ||
- git | ||
- firefox | ||
- chromium-browser | ||
# basic forensic tools | ||
- libimage-exiftool-perl | ||
- binwalk | ||
- mpack # used for unpacking eml files. | ||
# network tools | ||
- nmap | ||
unwanted: | ||
- apport | ||
- apport-symptoms | ||
- popularity-contest | ||
- ubuntu-report | ||
- whoopsie | ||
# cloud | ||
- cloud-init | ||
- cloud-guest-utils | ||
- cloud-initramfs-copymods | ||
- cloud-initramfs-dyn-netconf | ||
# misc | ||
- qrtr-tools |