sm-grimoire AT lists.ibiblio.org
Subject: Discussion of Spells and Grimoire items
List archive
- From: "Eric Sandall" <eric AT sandall.us>
- To: sm-grimoire AT lists.ibiblio.org
- Subject: Re: [SM-Grimoire] p4 can be used only from host
- Date: Fri, 6 Jun 2003 16:21:52 -0700 (PDT)
Pierre Abbat said:
> I'm at neofelis, sshed in to blackcat, and I typed "p4 sync". It said
> "pierre-blackcat can be used only from host blackcat". I went over to
> blackcat and typed the same command and got the same error. I then said
> "hostname blackcat" (it was "blackcat.ixazon.lan", which is the computer's
> proper FQDN; it's in 192.168, so I use .lan) and it worked. How do I make
> it
> so that p4 doesn't care?
>
> phma
I do the following:
1) Setup a ~/.p4config-<short hostname> file[0]
2) Set: P4CONFIG=.p4config-$HOSTNAME in /etc/profile
3) Make sure ~/.bashrc (or whatever shell you use) sources /etc/profile
4) Now, whichever machine I log into, Perforce is setup for that machine
[0] Example contents of ~/.p4config-isp24 for isp24.shock.wsu.edu
(`hostname` reports isp24):
P4PORT=perforce.smee.org:1666
P4USER=eric_sandall
P4PASSWD=14ml337><0r
P4CLIENT=sandalle-isp24
Hope this helps (though it's not quite what you asked),
-One of Four
a.k.a. sandalle
--
PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
-
[SM-Grimoire] p4 can be used only from host,
Pierre Abbat, 06/06/2003
- Re: [SM-Grimoire] p4 can be used only from host, Eric Sandall, 06/06/2003
- Re: [SM-Grimoire] p4 can be used only from host, Tony Smith, 06/16/2003
Archive powered by MHonArc 2.6.24.