Skip to content

hero.bootstrap #

troubleshooting

qemu-system-x86_64 -monitor stdio
#ssh -L 5901:localhost:5901 root@65.21.132.119
#open vnc://localhost:5901

fn new_alpine_loader #

fn new_alpine_loader(args AlpineLoaderArgs) AlpineLoader

struct AlpineLaunchArgs #

@[params]
struct AlpineLaunchArgs {
pub mut:
	name     string
	hostname string       = 'herodev'
	cputype  osal.CPUType = .intel
	reset    bool
}
 enum CPUType {
    unknown
    intel
    arm
    intel32
    arm32
 }

struct AlpineLoader #

struct AlpineLoader {
pub mut:
	alpine_url map[string]string
}

fn (AlpineLoader) start #

fn (mut self AlpineLoader) start(args_ AlpineLaunchArgs) !

struct AlpineLoaderArgs #

@[params]
struct AlpineLoaderArgs {
pub mut:
	alpine_url map[string]string = {
		'aarch64': 'https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/aarch64/alpine-standard-3.19.1-aarch64.iso'
		'x86_64':  'https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/x86_64/alpine-standard-3.19.1-x86_64.iso'
	}
}