https://github.com/tkmru/multiarch_bootstrap
bootstrap some arch debian qcow2 images for macOS/ubuntu
https://github.com/tkmru/multiarch_bootstrap
bootstrap multiarch qcow2
Last synced: 7 months ago
JSON representation
bootstrap some arch debian qcow2 images for macOS/ubuntu
- Host: GitHub
- URL: https://github.com/tkmru/multiarch_bootstrap
- Owner: tkmru
- Created: 2017-06-25T20:35:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-06T03:36:05.000Z (almost 7 years ago)
- Last Synced: 2025-02-01T16:13:22.515Z (9 months ago)
- Topics: bootstrap, multiarch, qcow2
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Multiarch Bootstrap
Multiarch Bootstrap allows to set up testing environment quickly with qemu and debian images for multiple architectures on macOS/ubuntu.
# Supported architectures
- armle
- aarch64
- mipsbe
- mipsle# How to use
## QEMU and Debian Image Installation```
$ git clone https://github.com/tkmru/multiarch_bootstrap.git
$ cd multiarch_bootstrap
$ ./install.sh
Do you setup QEMU? [y/N]
y
Installing QEMU...
Updating Homebrew...
...
Do you setup ARMLE Debian Wheezy image? [y/N]
y
Downloading & setting ARMLE Debian Wheezy...
--2018-12-06 12:30:26-- https://people.debian.org/~aurel32/qemu/armel/debian_wheezy_armel_standard.qcow2
...
...
Do you setup MIPSBE Debian Wheezy image? [y/N]
...
...
Done
```## add SSH config
```
$ ./ssh_config.sh
Add VM host to SSH config
Done
```## launch VM
```
$ ./launch.sh mipsbe
When it will be ready, just connect (credentials: root/root): ssh root@localhost -p2222
Launching Mipsbe machine
```**NOTE** SSH port depends on the architecture for avoiding `WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!`.
You can connect VM by `SSH arch_name` after run `ssh_config.sh`.
```
$ ssh mipsbe
```# Acknowledgments
- [lucyoa/envboot](https://github.com/lucyoa/envboot)