On Thu, Dec 31, 2015 at 1:45 AM, Eric <[email protected]> wrote:

> Actually, I think I can just comment out some lines at #628
> <https://github.com/joyent/sdc-headnode/blob/master/scripts/joysetup.sh#L628>,
> #652
> <https://github.com/joyent/sdc-headnode/blob/master/scripts/joysetup.sh#L652>,
> #718
> <https://github.com/joyent/sdc-headnode/blob/master/scripts/joysetup.sh#L718>,
> and just replace #331
> <https://github.com/joyent/sdc-headnode/blob/master/scripts/joysetup.sh#L331>
> with my own zpool create command
>


If you didn't replace #331
<https://github.com/joyent/sdc-headnode/blob/master/scripts/joysetup.sh#L331>
with a zpool create command, and tried to just create a zpool at the
beginning, like what I just tried, you'll hit a checkpoint in #231
<https://github.com/joyent/sdc-headnode/blob/master/scripts/headnode.sh#L231>
headnode.sh, that checks if there are no imported pools:

if [[ ${POOLS} == "no pools available" ]]; then
cr_once

Don't do that.



-------------------------------------------
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