Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2012 17:08:13 +0000
From:      "Philip M. Gollucci" <pgollucci@gmail.com>
To:        current@FreeBSD.org
Cc:        Daniel Shafaf <danielsh@apache.org>, Scott Sanders <Ssanders@taximagic.com>
Subject:   jid and jname are numberic by default why?  Can we change it ?
Message-ID:  <4F22D9FD.10502@p6m7g8.com>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig00404A200D5298C770AC6528
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

All,

$ jls -nq | tail -1 | xargs -n1 | egrep '^(name|jid)=3D'| xargs
jid=3D17 name=3D17

$ jls
   JID  IP Address      Hostname                      Path
     3  192.168.2.38    sid.dca1.rws                  /sid
    17  192.168.2.41    jubilee.dca1.rws              /jubilee

# jubilee/chef
jail_jubilee_hostname=3D"jubilee.dca1.rws"
jail_jubilee_ip=3D"192.168.2.41"
jail_jubilee_ip_multi0=3D"192.168.2.42"
jail_jubilee_interface=3D"bge1"
jail_jubilee_rootdir=3D"/jubilee"
jail_jubilee_devfs_enable=3D"YES"

=46rom jexec(8):

DESCRIPTION
     The jexec utility executes command inside the jail identified by
its jid or name.

This works, but kind of defeats the point --
$ sudo jexec `jls |grep sid |awk '{print $1}'` /bin/bash



--=20
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
Member,                           Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Director Operations,              Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


--------------enig00404A200D5298C770AC6528
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFPItn/dbiP+9ubjBwRAn3xAJ9EsaWaIo98D07cwFTqaJrfpFXFmwCeKaZL
j8m+ZXMchnz31KttOVr/8zc=
=pTqu
-----END PGP SIGNATURE-----

--------------enig00404A200D5298C770AC6528--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F22D9FD.10502>