training-lab.git
2 years 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

2 years 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

2 years 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.

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

2 years 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

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

MANIFEST file format has changed

2 years 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

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

2 years 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

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

2 years 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

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

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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!

2 years 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

2 years 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

2 years 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

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

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