class Ipxed

Overview

iPXE Server

Defined in:

ipxed/server.cr

Constant Summary

FILE_MAPPING = {"netboot.ipxe" => "netbootIpxeScript", "bzImage" => "kernel", "initrd" => "netbootRamdisk"}
KEY_ROOT = Path.new("/home/manveru/github/input-output-hk/moe-ops/encrypted/ssh")
LOG = Log.for("iPXEd")
VERSION = "0.1.0"

Constructors

Instance Method Summary

Constructor Detail

def self.new(repos : Array(String), host : String, port : Int32, token : String, age_identity) #

[View source]

Instance Method Detail

def answer(ctx, status, body) #

[View source]
def build(flake, hostname, attr) #

[View source]
def host : String #

[View source]
def host=(host : String) #

[View source]
def out_path(flake, hostname, attr, path) #

[View source]
def parse_uuid(ctx, params) #

[View source]
def port : Int32 #

[View source]
def port=(port : Int32) #

[View source]
def repos : Array(String) #

[View source]
def repos=(repos : Array(String)) #

[View source]
def run #

[View source]
def serve(ctx, uuid, repos, flake, hostname, file) #

[View source]
def serve_file(ctx, flake, hostname, attr, path) #

[View source]
def token : String #

[View source]
def token=(token : String) #

[View source]