Operation system: Ubuntu 16.04.6 LTS
QEMU emulator version: 2.5.0
# Docs: | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference | |
- https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html | |
- https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/53 | |
# Download ISO Installer: | |
wget https://ubuntu.volia.net/ubuntu-releases/20.04.1/ubuntu-20.04.1-live-server-amd64.iso | |
# Create ISO distribution dirrectory: |
This allows you to run qemu-debootstrap armhf on arm64 systems that does not support armhf native. | |
``` | |
update-binfmts --package qemu-user-static --install qemu-arm /usr/bin/qemu-arm-static --magic "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00" --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff" --offset 0 --credential yes | |
``` | |
Then run `qemu-debootstrap` as normal |
#!/bin/bash | |
# Author: Hsieh-Ting Lin | |
# Title: "rename" | |
# Date: "2024-02-05" | |
# Version: 1.0.0 | |
# desc: rename by ChatGPT | |
API_ENDPOINT="https://api.openai.com/v1/chat/completions" | |
pdf_folder="." |