# [OmniOS-discuss] Questions about - End the uncertainty -

Eric Sproul eric.sproul at circonus.com
Fri Jul 7 19:29:27 UTC 2017

- Previous message: [OmniOS-discuss] Questions about - End the uncertainty -
- Next message: [OmniOS-discuss] Questions about - End the uncertainty -
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Fri, Jul 7, 2017 at 2:52 PM, Michael Rasmussen <mir at miras.org> wrote:
    > Add to this that the user should be able to apply a preseed to the
    > installer (Think of Debian) to have all that done automatically -
    > imagine being able to remote install through PXE both Omnios and
    > detailed configuration and installation of extra stuff.

    This is already possible via the `Postboot` functionality in Kayak, e.g.:

    Postboot '/sbin/ipadm create-addr -T dhcp e1000g0/v4'

    Just as with the old Solaris Jumpstart or AI, you can do this in
    configs that are specific to a single machine (by MAC address) or
    multiple machines (MAC prefix).  You can do pretty much any commands
    here, and they get run by the once-at-first-boot service,
    svc:/system/initial-boot [1][2]

    One caveat is that this runs after the single-user milestone, so
    pretty early in the boot, before networking and all filesystems are
    available.  If you need to install additional packages, for instance,
    you should look into some supplemental method of configuration
    management.

    Eric

    [1] SMF manifest:
    https://github.com/omniosorg/illumos-omnios/blob/master/usr/src/cmd/svc/milestone/initial-boot.xml

    [2] SMF method script:
    https://github.com/omniosorg/illumos-omnios/blob/master/usr/src/cmd/svc/milestone/initial-boot

- Previous message: [OmniOS-discuss] Questions about - End the uncertainty -
- Next message: [OmniOS-discuss] Questions about - End the uncertainty -
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list