# [OmniOS-discuss] Omios, hvm and AWS

Al Slater al.slater at scluk.com
Mon Jul 31 20:51:34 UTC 2017

- Previous message: [OmniOS-discuss] Omios, hvm and AWS
- Next message: [OmniOS-discuss] Problem with upgrade from r151014 to r151022
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On 31/07/17 21:30, Eric Sproul wrote:
    > On Mon, Jul 31, 2017 at 4:05 PM, Al Slater <al.slater at scluk.com> wrote:
    >> One more question though, is there any way to enable an SMF service for
    >> the next reboot, but not immediately.  Specifically, I want to enable
    >> the initial-boot service with a .initialboot file in place, then create
    >> a new AMI.
    >>
    >> I wist to use .initialboot to grab the instance configuration from
    >> amazon (hostname, root keys etc) and configure appropriately when the
    >> new instance starts.
    >
    > Hi Al,
    > The initial-boot service isn't really suitable for this sort of thing.
    > You might want to check out
    > pkg://omnios/system/management/ec2-credential which specifically
    > handles setting up the credentials at first boot.  That could be
    > trivially extended[1] to set the system hostname and probably any
    > other "standard" thing that operators want.
    >
    > Eric
    >
    > [1] https://github.com/omniosorg/omnios-build/blob/master/build/ec2-credential/files/install-ec2-credential

    Thanks for the pointer Eric.

    --
    Al Slater

- Previous message: [OmniOS-discuss] Omios, hvm and AWS
- Next message: [OmniOS-discuss] Problem with upgrade from r151014 to r151022
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list