-
chroot / hostname problem
Hello,
When i chroot into my new knoppix for remastering, the hostname doesnt change (offcourse). To make it a little easier to tell the difference between my 'normal' knoppix en de chrooted one, i want to change the hostname.
I did this by changen the /etc/hostname file in my chrooted environment. After exiting en logging back on, nothing is changed (although my /etc/hostname file is different...).
The command 'hostname xxx' gives the same result.
Is there any other file i should change, or im i simply forgetting something?
Many thanks in advance!
-
Re: chroot / hostname problem

Originally Posted by
bertheylen
Hello,
When i chroot into my new knoppix for remastering, the hostname doesnt change (offcourse). To make it a little easier to tell the difference between my 'normal' knoppix en de chrooted one, i want to change the hostname.
I did this by changen the /etc/hostname file in my chrooted environment. After exiting en logging back on, nothing is changed (although my /etc/hostname file is different...).
The command 'hostname xxx' gives the same result.
Is there any other file i should change, or im i simply forgetting something?
Many thanks in advance!
Alternatively you could modify your bash profile. I use a specific colour scheme for my remasters, which is different to the remastering enviroment. When I chroot in to the remaster, the new bash profile comes with it and I have a different colour for the prompt.
Similar Threads
-
By frustrated user in forum Customising & Remastering
Replies: 10
Last Post: 05-21-2007, 09:58 PM
-
By davidx7773 in forum Customising & Remastering
Replies: 2
Last Post: 12-13-2006, 06:12 PM
-
By Gandalf_Grey_ in forum Customising & Remastering
Replies: 5
Last Post: 03-15-2004, 06:53 AM
-
By estranged in forum Customising & Remastering
Replies: 1
Last Post: 11-13-2003, 10:54 PM
-
By WimG in forum Networking
Replies: 5
Last Post: 09-27-2003, 04:16 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$96.60

NEW DELL TRUSTED PLATFORM MODULE TPM 2.0 POWEREDGE T430 T630 G13 SERVERS K98XH
$225.00

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working
$149.99

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric
$174.99

HPE Synergy 480 Gen10 Blade Server BAREBONES NO CPU, RAM OR HDD 🚚
$140.00

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER
$1499.97

Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis
$274.99

Dell PowerEdge VRTX 2.5"x25 Bay Blade Enclosure 4x1600W + 4X M640 (4X Blades)
$1599.99

NEW DELL TRUSTED PLATFORM MODULE TPM 2.0 POWEREDGE R730 SERVER M48YR RXW6R K98XH
$225.00

NEW Cisco UCSB-5108-AC2 Blade Server Chassis 8 Slot 6RU Chassis 4 X PSU - DW
$599.40