training-lab.git
5 months agoSwitch the Vagrantfile default to use the arm32 runtime VM master
Steve McIntyre [Mon, 11 May 2020 17:08:47 +0000 (18:08 +0100)]
Switch the Vagrantfile default to use the arm32 runtime VM

5 months agoDescribe changes made for the arm32 image and the Azeria lab
Steve McIntyre [Mon, 11 May 2020 16:59:37 +0000 (17:59 +0100)]
Describe changes made for the arm32 image and the Azeria lab

5 months agoCopy the right authorized_keys file
Steve McIntyre [Mon, 11 May 2020 15:01:03 +0000 (16:01 +0100)]
Copy the right authorized_keys file

Need the one for vagrant, not root!

5 months agoBe more verbose about which arch we're using
Steve McIntyre [Mon, 11 May 2020 14:43:06 +0000 (15:43 +0100)]
Be more verbose about which arch we're using

5 months agoFix arch detection
Steve McIntyre [Mon, 11 May 2020 14:42:36 +0000 (15:42 +0100)]
Fix arch detection

5 months agoDon't fail if no unattended-upgrade* processes
Steve McIntyre [Mon, 11 May 2020 13:21:34 +0000 (14:21 +0100)]
Don't fail if no unattended-upgrade* processes

5 months agoAdd support for other options on the bootstrap:
Steve McIntyre [Mon, 11 May 2020 13:04:21 +0000 (14:04 +0100)]
Add support for other options on the bootstrap:

localtest - grab from LAN (Steve's setup)
nodownload - don't bother downloading the runtime, assume all is ok

5 months agoAdd support for a runtime argument to choose the runtime type
Steve McIntyre [Mon, 11 May 2020 12:36:35 +0000 (13:36 +0100)]
Add support for a runtime argument to choose the runtime type

Default to arm32, but accept an argument of "arm64" too. This will
switch the download location and also call the start_runtime script
with the same argument.

5 months agoAccept MACH=arm32
Steve McIntyre [Mon, 11 May 2020 12:36:03 +0000 (13:36 +0100)]
Accept MACH=arm32

5 months agoMove arm64 image to new location
Steve McIntyre [Mon, 11 May 2020 12:13:33 +0000 (13:13 +0100)]
Move arm64 image to new location

So we can easily have logical locations for both arm32 and arm64

5 months agoUpdate comment
Steve McIntyre [Mon, 11 May 2020 12:12:47 +0000 (13:12 +0100)]
Update comment

MANIFEST file format has changed

5 months agoTweaks to support 32- and 64-bit VMs better
Steve McIntyre [Mon, 11 May 2020 12:07:49 +0000 (13:07 +0100)]
Tweaks to support 32- and 64-bit VMs better

5 months agoAdded an arm32 image now
Steve McIntyre [Mon, 11 May 2020 12:07:23 +0000 (13:07 +0100)]
Added an arm32 image now

5 months agoSdd a helper script to validate the contents of a MANIFEST
Steve McIntyre [Thu, 7 May 2020 18:54:10 +0000 (19:54 +0100)]
Sdd a helper script to validate the contents of a MANIFEST

5 months agoAutomatically start the runtime VM
Steve McIntyre [Thu, 7 May 2020 17:50:20 +0000 (18:50 +0100)]
Automatically start the runtime VM

5 months agoAdd empty runtime VM provisioning script
Steve McIntyre [Thu, 7 May 2020 17:30:33 +0000 (18:30 +0100)]
Add empty runtime VM provisioning script

5 months agoMinor tweaks
Steve McIntyre [Thu, 7 May 2020 17:23:31 +0000 (18:23 +0100)]
Minor tweaks

5 months agoDescribe the steps needed to set up the runtime VM for our usage
Steve McIntyre [Thu, 7 May 2020 17:22:48 +0000 (18:22 +0100)]
Describe the steps needed to set up the runtime VM for our usage

5 months agoAbandon port forwarding and set up ssh proxy instead
Steve McIntyre [Thu, 7 May 2020 17:19:20 +0000 (18:19 +0100)]
Abandon port forwarding and set up ssh proxy instead

Added ssh config and script to use it.

Specify "./vm_ssh toolchain_vm" or "./vm_ssh runtime_vm" to log into
either of the two machines.

5 months agoSimple startup script to go into /usr/local/bin in the runtime VM
Steve McIntyre [Thu, 7 May 2020 17:00:18 +0000 (18:00 +0100)]
Simple startup script to go into /usr/local/bin in the runtime VM

5 months agoDon't use port-forwarding for the runtime VM
Steve McIntyre [Thu, 7 May 2020 16:54:31 +0000 (17:54 +0100)]
Don't use port-forwarding for the runtime VM

It doesn't work. Turn off that portforward. We'll use the toolchain VM
to proxy the SSH connection instead

5 months agoChange download URL to something public for initial test
Steve McIntyre [Tue, 5 May 2020 14:19:24 +0000 (15:19 +0100)]
Change download URL to something public for initial test

Not the final location, but I can share this!

5 months agoWIP: script to start the runtime VM
Steve McIntyre [Tue, 5 May 2020 14:09:59 +0000 (15:09 +0100)]
WIP: script to start the runtime VM

Should work natively on an arm64 host, or emulated on amd64

5 months agoTrivial script to generate a MANIFEST file for the runtime VM data
Steve McIntyre [Tue, 5 May 2020 14:09:35 +0000 (15:09 +0100)]
Trivial script to generate a MANIFEST file for the runtime VM data

5 months agoSimple Vagrantfile and a bootstrap script
Steve McIntyre [Tue, 5 May 2020 13:41:41 +0000 (14:41 +0100)]
Simple Vagrantfile and a bootstrap script

shell script to provision things for the toolchain VM, including
downloading and (when we're ready!) starting up the nested runtime VM

5 months agoAdd notes so far
Steve McIntyre [Tue, 5 May 2020 13:41:24 +0000 (14:41 +0100)]
Add notes so far

5 months agoAdd initial trivial .gitignore file
Steve McIntyre [Tue, 5 May 2020 13:40:38 +0000 (14:40 +0100)]
Add initial trivial .gitignore file