Last active
May 4, 2025 13:25
-
-
Save LeoriumDev/906bc52cbd564c12ec16563e081ec3e0 to your computer and use it in GitHub Desktop.
Launch an x86_64 virtual machine on Apple Silicon (ARM64) using Lima and QEMU, with your home directory mounted as writable.
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
limactl start --arch x86_64 |
Fix autocomplete issue
Install bash-completion
sudo apt update
sudo apt install bash-completion
add the following to ~/.bashrc
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
Update the shell
source ~/.bashrc
add the following to ~/.inputrc
set show-all-if-ambiguous on
set completion-ignore-case on
TAB: menu-complete
"\e[Z": menu-complete-backward
bind -f ~/.inputrc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change hostname (change lima-default to whatever you like)
sudo hostnamectl set-hostname newname
sudo reboot
lima