On 7/16/15 1:17 , Schmurfy wrote:
> Hi,
> sorry to slightly derail this discussion but that is the first time I see a
> mention of this "answers.json" and it looks really interesting to me, is it
> linked to SDC or also available for SmartOS ?
> I am currently using PXE to boot my hosts and I was looking for a way to
> automate initialization of new hosts without having to grab a
> console/keyboard.

It's linked to SDC, but there's a new installer in the works[0] that
would eventually allow us to lay the foundation for SmartOS to use a
similar mechanism and in the case of PXE booting, pass in that
information via boot-time modules.

[0] https://github.com/joyent/smartos-live/pull/439

Robert

> On 14 July 2015 at 17:38, Robert Mustacchi <[email protected]> wrote:
> 
>> On 7/13/15 23:53 , Dirk Steinberg wrote:
>>> Thanks for the pointer - I might try this.
>>> But I would actually like to run full SDC/Triton.
>>>
>>> I suspect that the SDC installer does just I want to do:
>>> unpack a bunch of zone images (zfs send/recv format)
>>> and do some minor config tweaks to the base SmartOS.
>>>
>>> Maybe someone knows how this works and how I can reproduce
>>> this without actually running the installer from the USB/ISO boot
>>> image. Or — maybe I can actually extract the installer script
>>> from the boot image and run it on an existing SmartOS.
>>> But I would still need some pointers.
>>
>> The SDC headnode is designed around having that USB key there to boot
>> from. It's not sufficient to just try and replicate it, there are other
>> things which are stored persistently back to that USB key. I would not
>> recommend trying to manually work around this, as you'll quickly end up
>> having to fight against quite a lot of SDC.
>>
>> There are a few options here. Given that you don't have a console, what
>> you can do is go and fill out answers.json entirely on the USB key and
>> then wipe and reboot. Test the answers.json in coal first, but if filled
>> out completely, there will be no manual prompting and the installation
>> will be automated.
>>
>> If you don't have a usbkey available, the other thing that you can do is
>> to sacrifice a physical disk to be a giant USB key. It's not great, but
>> it may work for you.
>>
>> Robert
>>
>>>> Am 14.07.2015 um 03:42 schrieb Usama Ahmad <[email protected]>:
>>>>
>>>> Hello Dirk,
>>>>
>>>> If it is only Docker you want, saw this not tried and removed from
>> original
>>>>
>>>>
>> http://webcache.googleusercontent.com/search?q=cache:BuxCv3ku0v8J:www.smllr.nl/2015/07/11/docker-on-smartos/+&cd=1&hl=en&ct=clnk&gl=ca
>> <
>> http://webcache.googleusercontent.com/search?q=cache:BuxCv3ku0v8J:www.smllr.nl/2015/07/11/docker-on-smartos/+&cd=1&hl=en&ct=clnk&gl=ca
>>>
>>>>
>>>> I was thinking of trying it out, page was up last night but seems to be
>> gone now.
>>>>
>>>> Regards,
>>>> Usama
>>>>
>>>>
>>>> On Mon, Jul 13, 2015 at 9:26 PM, Eric <[email protected] <mailto:
>> [email protected]>> wrote:
>>>> Unless the hosting services allow you to use your own image, I'm not
>> sure what they will let you do :\
>>>>
>>>> On Mon, Jul 13, 2015 at 8:29 PM, Dirk Steinberg <[email protected]
>> <mailto:[email protected]>> wrote:
>>>>
>>>>> Am 13.07.2015 um 18:41 schrieb Eric <[email protected] <mailto:
>> [email protected]>>:
>>>>>
>>>>> Technically, could you have SmartOS run SDC within it?
>>>>
>>>> I do not quite understand what you are trying to say.
>>>> Do you mean nested virtualization? That’s definitely
>>>> not what I am looking for.
>>>>
>>>> / Dirk
>>>>
>>>>> On Mon, Jul 13, 2015 at 4:16 AM, Dirk Steinberg <[email protected]
>> <mailto:[email protected]>> wrote:
>>>>> Hi,
>>>>>
>>>>> I have a rented server with SmartOS pre-installed and
>>>>> no remote console access (Kimsufi). Therefore I
>>>>> cannot reinstall SDC.
>>>>>
>>>>> But SDC is basically SmartOS plus a number of service zones
>>>>> and some agents in the global zone. Recent SDC images
>>>>> should contain the exact same SmartOS image that is also
>>>>> distributed separately, AFAIK.
>>>>>
>>>>> I would like to use Docker, wich is integrated with SDC if
>>>>> I understand correctly.
>>>>>
>>>>> Is it possible to somehow install SDC on top of an existing,
>>>>> virgin (no VMs/zones configured) SmartOS installation?
>>>>> I am not trying to preserve anything from the SmartOS install
>>>>> except the networking config since I have to do this remotely
>>>>> via an SSH connection.
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Thanks,
>>>>> Dirk Steinberg
>>>>>
>>>>>
>>>>>
>>>>> http://www.listbox.com <http://www.listbox.com/>
>>>>>
>>>>
>>>>
>>>>
>>>> smartos-discuss | Archives <
>> https://www.listbox.com/member/archive/184463/=now>  <
>> https://www.listbox.com/member/archive/rss/184463/24390006-796fb66c> |
>> Modify <https://www.listbox.com/member/?&;> Your Subscription         <
>> http://www.listbox.com/>
>>>
>>>
>>
>>
> 
> 


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to