Skip to content

Be able to create aquariums #33

@obiwac

Description

@obiwac

This proposal has been superseded by the one in inobulles/aquarium#48, and that's what #86 is going along with.

Old proposal

Would be cool to be able to create aquariums out of a simple build.fl script like this:

let aquarium = Aquarium("amd64.aquabsd.0.1.0-beta")
aquarium.kernel = "amd64.aquabsd.0.1.0-beta"

aquarium.map = {
   "rc.local": "/etc/rc.local",
}

aquarium.env["IGNORE_OS_VERSION"] = true
aquairum.env["ASSUME_ALWAYS_YES"] = true // Probably should always be set at least by 'pkg_install'.

aquarium.pkg_install("vim")
aquarium.exec("ln -s /tmp/installer/resolv.conf /etc/resolv.conf")

aquarium.register()

And then you could have the following commands:

bob aquarium template # create template
bob aquarium image # create bootable image

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature, yo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions