Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread PÁSZTOR György
Hi,

"Michael Rasmussen"  írta 2017-01-05 19:44-kor:
> On Thu, 5 Jan 2017 13:34:40 -0500
> Dan McDonald  wrote:
> 
> > I notice you're running on vmxnet... I wonder if your host is preventing 
> > you from creating vNICs through some sort of address filtering?
> > 
> Does it not require promiscuous mode to be able to create a nic alias?
> I do not think this is supported with default settings in VmWare.

In my home nas, I bumped into a similar problem.
- Host is omnios 151014.
-- There is a zone, named vbox.
--- There is a linux virtual machine inside that, which access the local
network as it should, interface: eth0, br0(lxcname.eth0)
 There is a lxc container in that virtual machine

The lxc container didn't had access to the network, since virtualbox+ vnic
filtered out frames, didn't belong to it's address, so from the global
zone's perspective, the linux machine's vnic shouldn't get the frames where
it's destination was the lxc's mac.
So, I set up a proxy arp in the linux virtual machine:
$ cat /etc/sysctl.d/lxc-net-dep.conf 
net.ipv4.ip_forward=1
net.ipv4.conf.br0.proxy_arp=1
net.ipv4.conf.eth0.proxy_arp=1

Also, for safety, inside the /etc/network/interfaces, there is an up
command entry for the iface br0 inet static:
up route add -host 172.28.33.40 dev br0
up sysctl net.ipv4.conf.br0.proxy_arp=1
down route del -host 172.28.33.40

So for eth0, there is a regular eth0 inet static entry, and there is this
br0, with the same ip, as eth0, but it adds a p2p route entry to the
routing table at bringing up.
Since, br0 doesn't exist at host boot up time, the
net.ipv4.conf.br0.proxy_arp=1 is practically useless in the sysctl.d.conf
The 172.28.33.40 is the address of the lxc, while my whole home network is
the 172.28.33.0/24.

Outside from my omni nas, the linux vm, and the lxc seems like the same
mac:
# arp -n | grep -E '36|40'
172.28.33.36 ether   02:08:20:0d:ae:ea   C wlan0
172.28.33.40 ether   02:08:20:0d:ae:ea   C wlan0

I don't know, if it's possible on illumos but proxy arp can be a solution.
Not a nice one, but a sulution! ;-)

Cheers,
Gyu
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Dan McDonald

> On Jan 5, 2017, at 2:14 PM, Mini Trader  wrote:
> 
> Just access and hopefully recognition of sparse files.

You should be able to use zonecfg(1M) to share things appropriately.

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Dan McDonald

> On Jan 5, 2017, at 2:03 PM, Mini Trader  wrote:
> 
> Only added the vnic because I saw it in some other install manual.  Obviously 
> not needed - thank you for pointing that out!  I added a third NIC on the 
> same network and wham I am up and running :)  Thank you for the help.
> 
> Is there any documentation on what I need to do to make my datasets visible?

The zonecfg(1M) has some information on how to let a zone see and maniuplate a 
dataset.  Do you need full ZFS capacities, or just POSIX-access to the 
filesystem(s)?  The latter is simple for LX zones, but of unknown difficulty 
for full ZFS capacities.

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Michael Rasmussen
On Thu, 5 Jan 2017 13:48:18 -0500
Dan McDonald  wrote:

> > On Jan 5, 2017, at 1:44 PM, Michael Rasmussen  wrote:
> > 
> > Does it not require promiscuous mode to be able to create a nic alias?
> > I do not think this is supported with default settings in VmWare.  
> 
> I don't know my VMware-fu very well, but this sounds like what I was talking 
> about.
> 
> Thanks!
> Dan
> 
Jup, promiscuous mode is required to be able to mess with arp and other
low level IP stuff.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael  rasmussen  cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir  datanom  net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir  miras  org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--
/usr/games/fortune -es says:
Spock: The odds of surviving another attack are 13562190123 to 1,
Captain.


pgpzpaZvmdlU9.pgp
Description: OpenPGP digital signature
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Mini Trader
Only added the vnic because I saw it in some other install manual.
Obviously not needed - thank you for pointing that out!  I added a third
NIC on the same network and wham I am up and running :)  Thank you for the
help.

Is there any documentation on what I need to do to make my datasets visible?

On Thu, Jan 5, 2017 at 1:48 PM, Dan McDonald  wrote:

>
> > On Jan 5, 2017, at 1:44 PM, Michael Rasmussen  wrote:
> >
> > Does it not require promiscuous mode to be able to create a nic alias?
> > I do not think this is supported with default settings in VmWare.
>
> I don't know my VMware-fu very well, but this sounds like what I was
> talking about.
>
> Thanks!
> Dan
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Dan McDonald

> On Jan 5, 2017, at 1:44 PM, Michael Rasmussen  wrote:
> 
> Does it not require promiscuous mode to be able to create a nic alias?
> I do not think this is supported with default settings in VmWare.

I don't know my VMware-fu very well, but this sounds like what I was talking 
about.

Thanks!
Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Michael Rasmussen
On Thu, 5 Jan 2017 13:34:40 -0500
Dan McDonald  wrote:

> I notice you're running on vmxnet... I wonder if your host is preventing you 
> from creating vNICs through some sort of address filtering?
> 
Does it not require promiscuous mode to be able to create a nic alias?
I do not think this is supported with default settings in VmWare.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael  rasmussen  cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir  datanom  net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir  miras  org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--
/usr/games/fortune -es says:
Lack of money is the root of all evil.
-- George Bernard Shaw


pgpcdkjMIn3w7.pgp
Description: OpenPGP digital signature
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Dan McDonald

> On Jan 5, 2017, at 1:37 PM, Mini Trader  wrote:
> 
> root@storage1:/root#  dladm show-link
> LINKCLASS MTUSTATEBRIDGE OVER
> vmxnet3s0   phys  1500   up   -- --
> vmxnet3s1   phys  9000   up   -- --
> lx0 vnic  1500   up   -- vmxnet3s0
> root@storage1:/root#
> root@storage1:/root# dladm show-vnic
> LINK OVER SPEED  MACADDRESSMACADDRTYPE VID
> lx0  vmxnet3s01  2:8:20:75:44:a6   random  0
> root@storage1:/root#
> root@storage1:/root# dladm show-ether
> LINKPTYPESTATEAUTO  SPEED-DUPLEXPAUSE
> vmxnet3s0   current  up   no10G-f   none
> vmxnet3s1   current  up   no10G-f   none
> 
> Will be hard to get a physical NIC on the machine. 

Oh, I wasn't clear.

Can you assigned vmxnet3s1 to your LX zone?  If not, I get it.  It doesn't need 
to be physical, but it needs to be "not a vNIC".  vmxnet counts as a "native 
NIC" in this case.

Another experiment you can try to prove my VMware-host-is-the-problem 
hypothesis is to create a boring old ipkg or lipkg zone, and see if networking 
works or not in it.

A beer says you can't get networking with a vnic to work in a regular zone as 
well.

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Mini Trader
root@storage1:/root#  dladm show-link
LINKCLASS MTUSTATEBRIDGE OVER
vmxnet3s0   phys  1500   up   -- --
vmxnet3s1   phys  9000   up   -- --
lx0 vnic  1500   up   -- vmxnet3s0
root@storage1:/root#
root@storage1:/root# dladm show-vnic
LINK OVER SPEED  MACADDRESSMACADDRTYPE VID
lx0  vmxnet3s01  2:8:20:75:44:a6   random  0
root@storage1:/root#
root@storage1:/root# dladm show-ether
LINKPTYPESTATEAUTO  SPEED-DUPLEX
 PAUSE
vmxnet3s0   current  up   no10G-f   none
vmxnet3s1   current  up   no10G-f   none

Will be hard to get a physical NIC on the machine.

On Thu, Jan 5, 2017 at 1:34 PM, Dan McDonald  wrote:

> Hmmm.
>
> So now we do have to go back to the global zone... but not what you showed
> me.
>
> Please show:
>
> dladm show-link
>
> dladm show-vnic
>
> dladm show-ether
>
> I notice you're running on vmxnet... I wonder if your host is preventing
> you from creating vNICs through some sort of address filtering?
>
> One thing to try is to pass a native NIC to the LX zone (instead of an lx0
> vnic) to see if that works.
>
> Dan
>
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Dan McDonald
Hmmm.

So now we do have to go back to the global zone... but not what you showed me.

Please show:

dladm show-link

dladm show-vnic

dladm show-ether

I notice you're running on vmxnet... I wonder if your host is preventing you 
from creating vNICs through some sort of address filtering?

One thing to try is to pass a native NIC to the LX zone (instead of an lx0 
vnic) to see if that works.

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Mini Trader
The only machine I can ping is the host.  Nothing else.

root@debian-8:~# ifconfig -a
loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING MULTICAST  MTU:8232  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lx0   Link encap:Ethernet  HWaddr 02:08:20:75:44:a6
  inet addr:10.255.0.16  Bcast:10.255.0.255  Mask:255.255.255.0
  inet6 addr: fe80::8:20ff:fe75:44a6/10 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:588 errors:0 dropped:0 overruns:0 frame:0
  TX packets:125 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1
  RX bytes:57459 (56.1 KiB)  TX bytes:6458 (6.3 KiB)

root@debian-8:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
default 10.255.0.1  0.0.0.0 UG0  00 *
10.255.0.0  *   255.255.255.0   U 0  00 lx0

root@debian-8:~# cat /etc/network/interfaces
# AUTOMATIC ZONE CONFIG
iface lo inet manual
iface lx0 inet manual
root@debian-8:~# cat /etc/resolv.conf
# AUTOMATIC ZONE CONFIG
nameserver 10.255.0.1
search mydomain.com

root@debian-8:~# ip route show
default via 10.255.0.1  proto static
10.255.0.0/24 dev lx0  proto kernel  scope link  src 10.255.0.16


On Thu, Jan 5, 2017 at 1:11 PM, Dan McDonald  wrote:

> Why are you showing me global-zone things when the problem is in the LX
> zone?
>
> Dan
>
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Dan McDonald
Why are you showing me global-zone things when the problem is in the LX zone?

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Mini Trader
Having trouble with networking.  Any thoughts on this?

ipadm show-addr

ADDROBJ   TYPE STATEADDR
vmxnet3s0/v4  static   ok   10.255.0.15/24

dladm show-vnic

LINK OVER SPEED  MACADDRESSMACADDRTYPE VID
lx0  vmxnet3s01  2:8:20:94:5e:crandom  0


netstat -rn -finet

Routing Table: IPv4
  Destination   Gateway   Flags  Ref Use Interface
  - - -- -
default  10.255.0.1   UG2  66534
10.250.0.0   10.250.1.2   U 4  54902 vmxnet3s1
10.255.0.0   10.255.0.15  U 9  22094 vmxnet3s0
127.0.0.1127.0.0.1UH2 60 lo0

Here is the config:

create
set zonepath=/main/zones/lx0
set brand=lx
set autoboot=false
set ip-type=exclusive
add net
set physical=lx0
add property (name=gateway,value="10.255.0.1")
add property (name=ips,value="10.255.0.16/24")
add property (name=primary,value="true")
end
add attr
set name=dns-domain
set type=string
set value=mydomain.com
end
add attr
set name=resolvers
set type=string
set value=10.255.0.1
end
add attr
set name=kernel-version
set type=string
set value=3.16.0
end
exit






On Thu, Jan 5, 2017 at 11:35 AM, Dan McDonald  wrote:

> https://omnios.omniti.com/wiki.php/LXZones
>
> See the zonecfg example where you add properties to the "net" instance.
> For now, this is the only way to support network configurations on LX
> Zones.  We plan to have /native/sbin/ipadm working before r151022 ships.
>
> Dan
>
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Dan McDonald
https://omnios.omniti.com/wiki.php/LXZones

See the zonecfg example where you add properties to the "net" instance.  For 
now, this is the only way to support network configurations on LX Zones.  We 
plan to have /native/sbin/ipadm working before r151022 ships.

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Mini Trader
I deleted and re-created.  And it seems to be fine now.  Odd.

My ifconfig settings keep getting overwritten.  Is there something special
that needs to be done to have these settings maintained?  Looking for a
simple DHCP or Static IP config.

On Thu, Jan 5, 2017 at 11:19 AM, Rafael Pardinas  wrote:

> It may be useful to take a look at your config file then.
>
> On Thu, 5 Jan 2017 at 15:51 Mini Trader  wrote:
>
>> Yes.  Doesn't seem to make a difference.
>>
>> On Thu, Jan 5, 2017 at 10:47 AM, Rafael Pardinas 
>> wrote:
>>
>> Have you tried rebooting the LX zone? Sometimes they don't load correctly
>> the first time.
>>
>> On Thu, 5 Jan 2017 at 15:45 Mini Trader  wrote:
>>
>> root@storage1:/main/zones# zlogin -e ! lx0
>> [Connected to zone 'lx0' pts/2]
>> Last login: Thu Jan  5 15:43:39 UTC 2017 on console
>> Linux debian-8 3.16.0 BrandZ virtual linux x86_64
>>__.   .
>>  _|  |_  | .-. .  . .-. :--. |-
>> |__| ;|   ||  |(.-' |  | |
>>   |__|   `--'  `-' `;-| `-' '  ' `-'
>>/  ;  Instance (Debian 8.6 (jessie) 20161213)
>>`-'   https://docs.joyent.com/
>> images/container-native-linux
>>
>>
>> Login timed out after 60 seconds.
>>
>> [Connection to zone 'lx0' pts/2 closed]
>>
>>
>> On Thu, Jan 5, 2017 at 10:44 AM, Mini Trader 
>> wrote:
>>
>> My system is acting funny.
>>
>> If I login via zlogin nameofzone
>>
>> I don't get dumped into the command prompt right away.  I was able to
>> change the password via zlogin nameofzone passwd
>>
>> If I login via zlogin -C nameofzone
>>
>> Everything seems normal.  It's like the shell is not properly feeding
>> back if using zlogin without the -C option.
>>
>> On Thu, Jan 5, 2017 at 10:23 AM, Rafael Pardinas 
>> wrote:
>>
>> From your host you should be able to do:
>>
>> ~ $ zlogin -e ! lxbox  <-- lxbox is the name you've given to your Debian
>> machine.
>>
>> From there you can assign passwords. By default there isn't one assigned
>> to the root user as far as I know.
>>
>> -Rafa
>>
>> On Thu, 5 Jan 2017 at 15:14 Mini Trader  wrote:
>>
>> Hello all,
>>
>> I am trying to use a Debian LX Image based on the instructions from:
>>
>> https://omnios.omniti.com/wiki.php/LXZones
>>
>> The UUID I am using is: 9a8d53c0-c15b-11e6-9c4f-3bcedc82f8e1
>>
>> I've been able to get my zone to start up no problems.  But I cannot
>> login.
>>
>> Is there a default password for these images?
>>
>> Thanks!
>>
>>
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>>
>>
>>
>>
>>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Rafael Pardinas
It may be useful to take a look at your config file then.

On Thu, 5 Jan 2017 at 15:51 Mini Trader  wrote:

> Yes.  Doesn't seem to make a difference.
>
> On Thu, Jan 5, 2017 at 10:47 AM, Rafael Pardinas  wrote:
>
> Have you tried rebooting the LX zone? Sometimes they don't load correctly
> the first time.
>
> On Thu, 5 Jan 2017 at 15:45 Mini Trader  wrote:
>
> root@storage1:/main/zones# zlogin -e ! lx0
> [Connected to zone 'lx0' pts/2]
> Last login: Thu Jan  5 15:43:39 UTC 2017 on console
> Linux debian-8 3.16.0 BrandZ virtual linux x86_64
>__.   .
>  _|  |_  | .-. .  . .-. :--. |-
> |__| ;|   ||  |(.-' |  | |
>   |__|   `--'  `-' `;-| `-' '  ' `-'
>/  ;  Instance (Debian 8.6 (jessie) 20161213)
>`-'
> https://docs.joyent.com/images/container-native-linux
>
>
> Login timed out after 60 seconds.
>
> [Connection to zone 'lx0' pts/2 closed]
>
>
> On Thu, Jan 5, 2017 at 10:44 AM, Mini Trader 
> wrote:
>
> My system is acting funny.
>
> If I login via zlogin nameofzone
>
> I don't get dumped into the command prompt right away.  I was able to
> change the password via zlogin nameofzone passwd
>
> If I login via zlogin -C nameofzone
>
> Everything seems normal.  It's like the shell is not properly feeding back
> if using zlogin without the -C option.
>
> On Thu, Jan 5, 2017 at 10:23 AM, Rafael Pardinas  wrote:
>
> From your host you should be able to do:
>
> ~ $ zlogin -e ! lxbox  <-- lxbox is the name you've given to your Debian
> machine.
>
> From there you can assign passwords. By default there isn't one assigned
> to the root user as far as I know.
>
> -Rafa
>
> On Thu, 5 Jan 2017 at 15:14 Mini Trader  wrote:
>
> Hello all,
>
> I am trying to use a Debian LX Image based on the instructions from:
>
> https://omnios.omniti.com/wiki.php/LXZones
>
> The UUID I am using is: 9a8d53c0-c15b-11e6-9c4f-3bcedc82f8e1
>
> I've been able to get my zone to start up no problems.  But I cannot login.
>
> Is there a default password for these images?
>
> Thanks!
>
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
>
>
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Mini Trader
root@storage1:/main/zones# zlogin -e ! lx0
[Connected to zone 'lx0' pts/2]
Last login: Thu Jan  5 15:43:39 UTC 2017 on console
Linux debian-8 3.16.0 BrandZ virtual linux x86_64
   __.   .
 _|  |_  | .-. .  . .-. :--. |-
|__| ;|   ||  |(.-' |  | |
  |__|   `--'  `-' `;-| `-' '  ' `-'
   /  ;  Instance (Debian 8.6 (jessie) 20161213)
   `-'
https://docs.joyent.com/images/container-native-linux


Login timed out after 60 seconds.

[Connection to zone 'lx0' pts/2 closed]


On Thu, Jan 5, 2017 at 10:44 AM, Mini Trader 
wrote:

> My system is acting funny.
>
> If I login via zlogin nameofzone
>
> I don't get dumped into the command prompt right away.  I was able to
> change the password via zlogin nameofzone passwd
>
> If I login via zlogin -C nameofzone
>
> Everything seems normal.  It's like the shell is not properly feeding back
> if using zlogin without the -C option.
>
> On Thu, Jan 5, 2017 at 10:23 AM, Rafael Pardinas  wrote:
>
>> From your host you should be able to do:
>>
>> ~ $ zlogin -e ! lxbox  <-- lxbox is the name you've given to your Debian
>> machine.
>>
>> From there you can assign passwords. By default there isn't one assigned
>> to the root user as far as I know.
>>
>> -Rafa
>>
>> On Thu, 5 Jan 2017 at 15:14 Mini Trader  wrote:
>>
>>> Hello all,
>>>
>>> I am trying to use a Debian LX Image based on the instructions from:
>>>
>>> https://omnios.omniti.com/wiki.php/LXZones
>>>
>>> The UUID I am using is: 9a8d53c0-c15b-11e6-9c4f-3bcedc82f8e1
>>>
>>> I've been able to get my zone to start up no problems.  But I cannot
>>> login.
>>>
>>> Is there a default password for these images?
>>>
>>> Thanks!
>>>
>>>
>>> ___
>>> OmniOS-discuss mailing list
>>> OmniOS-discuss@lists.omniti.com
>>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>>>
>>
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Mini Trader
Yes.  Doesn't seem to make a difference.

On Thu, Jan 5, 2017 at 10:47 AM, Rafael Pardinas  wrote:

> Have you tried rebooting the LX zone? Sometimes they don't load correctly
> the first time.
>
> On Thu, 5 Jan 2017 at 15:45 Mini Trader  wrote:
>
>> root@storage1:/main/zones# zlogin -e ! lx0
>> [Connected to zone 'lx0' pts/2]
>> Last login: Thu Jan  5 15:43:39 UTC 2017 on console
>> Linux debian-8 3.16.0 BrandZ virtual linux x86_64
>>__.   .
>>  _|  |_  | .-. .  . .-. :--. |-
>> |__| ;|   ||  |(.-' |  | |
>>   |__|   `--'  `-' `;-| `-' '  ' `-'
>>/  ;  Instance (Debian 8.6 (jessie) 20161213)
>>`-'   https://docs.joyent.com/
>> images/container-native-linux
>>
>>
>> Login timed out after 60 seconds.
>>
>> [Connection to zone 'lx0' pts/2 closed]
>>
>>
>> On Thu, Jan 5, 2017 at 10:44 AM, Mini Trader 
>> wrote:
>>
>> My system is acting funny.
>>
>> If I login via zlogin nameofzone
>>
>> I don't get dumped into the command prompt right away.  I was able to
>> change the password via zlogin nameofzone passwd
>>
>> If I login via zlogin -C nameofzone
>>
>> Everything seems normal.  It's like the shell is not properly feeding
>> back if using zlogin without the -C option.
>>
>> On Thu, Jan 5, 2017 at 10:23 AM, Rafael Pardinas 
>> wrote:
>>
>> From your host you should be able to do:
>>
>> ~ $ zlogin -e ! lxbox  <-- lxbox is the name you've given to your Debian
>> machine.
>>
>> From there you can assign passwords. By default there isn't one assigned
>> to the root user as far as I know.
>>
>> -Rafa
>>
>> On Thu, 5 Jan 2017 at 15:14 Mini Trader  wrote:
>>
>> Hello all,
>>
>> I am trying to use a Debian LX Image based on the instructions from:
>>
>> https://omnios.omniti.com/wiki.php/LXZones
>>
>> The UUID I am using is: 9a8d53c0-c15b-11e6-9c4f-3bcedc82f8e1
>>
>> I've been able to get my zone to start up no problems.  But I cannot
>> login.
>>
>> Is there a default password for these images?
>>
>> Thanks!
>>
>>
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>>
>>
>>
>>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Rafael Pardinas
Have you tried rebooting the LX zone? Sometimes they don't load correctly
the first time.

On Thu, 5 Jan 2017 at 15:45 Mini Trader  wrote:

> root@storage1:/main/zones# zlogin -e ! lx0
> [Connected to zone 'lx0' pts/2]
> Last login: Thu Jan  5 15:43:39 UTC 2017 on console
> Linux debian-8 3.16.0 BrandZ virtual linux x86_64
>__.   .
>  _|  |_  | .-. .  . .-. :--. |-
> |__| ;|   ||  |(.-' |  | |
>   |__|   `--'  `-' `;-| `-' '  ' `-'
>/  ;  Instance (Debian 8.6 (jessie) 20161213)
>`-'
> https://docs.joyent.com/images/container-native-linux
>
>
> Login timed out after 60 seconds.
>
> [Connection to zone 'lx0' pts/2 closed]
>
>
> On Thu, Jan 5, 2017 at 10:44 AM, Mini Trader 
> wrote:
>
> My system is acting funny.
>
> If I login via zlogin nameofzone
>
> I don't get dumped into the command prompt right away.  I was able to
> change the password via zlogin nameofzone passwd
>
> If I login via zlogin -C nameofzone
>
> Everything seems normal.  It's like the shell is not properly feeding back
> if using zlogin without the -C option.
>
> On Thu, Jan 5, 2017 at 10:23 AM, Rafael Pardinas  wrote:
>
> From your host you should be able to do:
>
> ~ $ zlogin -e ! lxbox  <-- lxbox is the name you've given to your Debian
> machine.
>
> From there you can assign passwords. By default there isn't one assigned
> to the root user as far as I know.
>
> -Rafa
>
> On Thu, 5 Jan 2017 at 15:14 Mini Trader  wrote:
>
> Hello all,
>
> I am trying to use a Debian LX Image based on the instructions from:
>
> https://omnios.omniti.com/wiki.php/LXZones
>
> The UUID I am using is: 9a8d53c0-c15b-11e6-9c4f-3bcedc82f8e1
>
> I've been able to get my zone to start up no problems.  But I cannot login.
>
> Is there a default password for these images?
>
> Thanks!
>
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
>
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Mini Trader
My system is acting funny.

If I login via zlogin nameofzone

I don't get dumped into the command prompt right away.  I was able to
change the password via zlogin nameofzone passwd

If I login via zlogin -C nameofzone

Everything seems normal.  It's like the shell is not properly feeding back
if using zlogin without the -C option.

On Thu, Jan 5, 2017 at 10:23 AM, Rafael Pardinas  wrote:

> From your host you should be able to do:
>
> ~ $ zlogin -e ! lxbox  <-- lxbox is the name you've given to your Debian
> machine.
>
> From there you can assign passwords. By default there isn't one assigned
> to the root user as far as I know.
>
> -Rafa
>
> On Thu, 5 Jan 2017 at 15:14 Mini Trader  wrote:
>
>> Hello all,
>>
>> I am trying to use a Debian LX Image based on the instructions from:
>>
>> https://omnios.omniti.com/wiki.php/LXZones
>>
>> The UUID I am using is: 9a8d53c0-c15b-11e6-9c4f-3bcedc82f8e1
>>
>> I've been able to get my zone to start up no problems.  But I cannot
>> login.
>>
>> Is there a default password for these images?
>>
>> Thanks!
>>
>>
>> ___
>> OmniOS-discuss mailing list
>> OmniOS-discuss@lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>>
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Dale Ghent

As someone else already said - there's no root password on these images and you 
need to use zlogin to get a "console" root prompt. 

General thing is, is that these images are essentially what you would download 
directly from Ubuntu or CentOS/Redhat, but with some specific tweaks to make 
them jive better with LX Zones. Other than those tweaks, using them is no 
different from using their official ISO on bare metal, so their distro-specific 
documentation picks up from that point.

/dale

> On Jan 5, 2017, at 10:13 AM, Mini Trader  wrote:
> 
> Hello all,
> 
> I am trying to use a Debian LX Image based on the instructions from:
> 
> https://omnios.omniti.com/wiki.php/LXZones
> 
> The UUID I am using is: 9a8d53c0-c15b-11e6-9c4f-3bcedc82f8e1
> 
> I've been able to get my zone to start up no problems.  But I cannot login.
> 
> Is there a default password for these images?
> 
> Thanks!
> 
> 
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Rafael Pardinas
>From your host you should be able to do:

~ $ zlogin -e ! lxbox  <-- lxbox is the name you've given to your Debian
machine.

>From there you can assign passwords. By default there isn't one assigned to
the root user as far as I know.

-Rafa

On Thu, 5 Jan 2017 at 15:14 Mini Trader  wrote:

> Hello all,
>
> I am trying to use a Debian LX Image based on the instructions from:
>
> https://omnios.omniti.com/wiki.php/LXZones
>
> The UUID I am using is: 9a8d53c0-c15b-11e6-9c4f-3bcedc82f8e1
>
> I've been able to get my zone to start up no problems.  But I cannot login.
>
> Is there a default password for these images?
>
> Thanks!
>
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


[OmniOS-discuss] LX Zones - Password for Canned SmartOS Images

2017-01-05 Thread Mini Trader
Hello all,

I am trying to use a Debian LX Image based on the instructions from:

https://omnios.omniti.com/wiki.php/LXZones

The UUID I am using is: 9a8d53c0-c15b-11e6-9c4f-3bcedc82f8e1

I've been able to get my zone to start up no problems.  But I cannot login.

Is there a default password for these images?

Thanks!
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss