diff options
author | EuAndreh <eu@euandre.org> | 2021-02-07 19:22:24 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-07 19:22:24 -0300 |
commit | 6611007ede01cf411a7a16826ba518c59d792532 (patch) | |
tree | 926ae6b97a698e98f75be387b6d042ddffa294a3 | |
parent | manifest.scm: Add bash and jekyll packages (diff) | |
download | euandre.org-6611007ede01cf411a7a16826ba518c59d792532.tar.gz euandre.org-6611007ede01cf411a7a16826ba518c59d792532.tar.xz |
Add initial version of screencast
Diffstat (limited to '')
2 files changed, 43 insertions, 0 deletions
diff --git a/_screencasts/2021-02-07-autoqemu-automate-installation-and-ssh-setup-of-iso-os-images.md b/_screencasts/2021-02-07-autoqemu-automate-installation-and-ssh-setup-of-iso-os-images.md new file mode 100644 index 0000000..4cef5ce --- /dev/null +++ b/_screencasts/2021-02-07-autoqemu-automate-installation-and-ssh-setup-of-iso-os-images.md @@ -0,0 +1,42 @@ +--- + +title: AutoQEMU - automate installation and SSH setup of ISO OS images + +date: 2021-02-07 + +layout: post + +lang: en + +ref: autoqemu-automate-installation-and-ssh-setup-of-iso-os-images + +--- + +After reading begriffs "[Tips for stable and portable software][begriffs-article]", the "Begriffs Buildfarm?" section caught my attention, as this is something I would be interested in. + +After emailing the author, a [public thread] began on the subject. + +As we discussed how it could be done, I decided to experiment with the idea of automating the setup of virtual environments with QEMU. + +This screencast is a simple demo of automating the installation of Alpine Linux 3.12.3 standard x86_64 with [AutoQEMU], which is nothing more than POSIX sh, [expect] scripts and Makefiles glued together. + +As of this writing, I just worked on it for 2~3 days, so everything is still pretty ad-hoc. + +The commands from the screencast were[^script-command]: + +[^script-command]: Only now, writing again what I ran on the screencast that I should have tried something like [script](https://www.man7.org/linux/man-pages/man1/script.1.html). Maybe next time (thanks [klaatu](https://gnuworldorder.info/) for the tip!). + +```shell +pushd `mktemp -d` +git clone https://git.euandreh.xyz/autoqemu . +./configure --prefix=$HOME/.local +make install +autoqemu ssh alpine +``` + +It assumes that `$HOME/.local/bin` is in `$PATH`. + +[begriffs-article]: https://begriffs.com/posts/2020-08-31-portable-stable-software.html +[public thread]: https://talk.begriffs.com/pipermail/friends/2021-February/001263.html +[AutoQEMU]: https://git.euandreh.xyz/autoqemu +[expect]: https://core.tcl-lang.org/expect/index diff --git a/resources/screencasts/2021-02-07-autoqemu-automate-installation-and-ssh-setup-of-iso-os-images.webm b/resources/screencasts/2021-02-07-autoqemu-automate-installation-and-ssh-setup-of-iso-os-images.webm new file mode 120000 index 0000000..eb7b8b2 --- /dev/null +++ b/resources/screencasts/2021-02-07-autoqemu-automate-installation-and-ssh-setup-of-iso-os-images.webm @@ -0,0 +1 @@ +../../.git/annex/objects/Kq/1K/SHA256E-s12103021--629a928e6cbd4350912be192adf94d287368e2ce7b3ec0138953ecb6e7b51dcd.webm/SHA256E-s12103021--629a928e6cbd4350912be192adf94d287368e2ce7b3ec0138953ecb6e7b51dcd.webm
\ No newline at end of file |