hostname not set to server name

Bug #1132686 reported by Andrea Frittoli
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
CirrOS
Fix Released
Low
Unassigned

Bug Description

When booting a cirros VM in devstack, the hostname is cirros, it is not set to the "server name".

Related branches

Revision history for this message
Andrea Frittoli (andrea-frittoli) wrote :

# uname -a
Linux cirros 3.0.0-12-virtual #20-Ubuntu SMP Fri Oct 7 18:19:02 UTC 2011 x86_64 GNU/Linux
# hostname
cirros

Revision history for this message
Scott Moser (smoser) wrote :

untested, but something like attached patch here

Changed in cirros:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Scott Moser (smoser) wrote :

fixed in revno 281.

Changed in cirros:
status: Confirmed → Fix Committed
Revision history for this message
Harm Weites (harmw) wrote :

Scott, the fix in r281 puts the full path in /etc/hostname instead of the value inside that file:

$ hostname
/run/cirros/datasource/data/hostname

Changed in cirros:
status: Fix Committed → Confirmed
Revision history for this message
Scott Moser (smoser) wrote :

more correctly fixed in revno 285.

Harm Weites (harmw)
Changed in cirros:
status: Confirmed → Fix Committed
Revision history for this message
Scott Moser (smoser) wrote :

fixed in 0.3.2

Changed in cirros:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.