2013-10-07 16:15:09 |
Ben Howard |
bug |
|
|
added bug |
2013-10-07 16:15:20 |
Ben Howard |
affects |
ubuntu |
cloud-init (Ubuntu) |
|
2013-10-07 16:16:50 |
Ben Howard |
branch linked |
|
lp:~utlemming/cloud-init/lp-1236445-smartos-hostname |
|
2013-10-07 16:17:06 |
Ben Howard |
description |
SmartOS uses whitespace when reporting the hostname via the meta-data source. As a result, the hostname assignment fails.
Simple fix:
=== modified file 'cloudinit/sources/DataSourceSmartOS.py'
--- cloudinit/sources/DataSourceSmartOS.py 2013-10-05 01:05:21 +0000
+++ cloudinit/sources/DataSourceSmartOS.py 2013-10-07 16:12:19 +0000
@@ -145,6 +145,7 @@
if not md['local-hostname']:
md['local-hostname'] = system_uuid
+ md['local-hostname'] = md['local-hostname'].strip()
ud = None
if md['user-data']: |
SmartOS uses whitespace when reporting the hostname via the meta-data source. As a result, the hostname assignment fails.
Simple fix:
=== modified file 'cloudinit/sources/DataSourceSmartOS.py'
--- cloudinit/sources/DataSourceSmartOS.py 2013-10-05 01:05:21 +0000
+++ cloudinit/sources/DataSourceSmartOS.py 2013-10-07 16:12:19 +0000
@@ -145,6 +145,7 @@
if not md['local-hostname']:
md['local-hostname'] = system_uuid
+ md['local-hostname'] = md['local-hostname'].strip()
ud = None
if md['user-data']: |
|
2013-10-07 16:17:14 |
Ben Howard |
description |
SmartOS uses whitespace when reporting the hostname via the meta-data source. As a result, the hostname assignment fails.
Simple fix:
=== modified file 'cloudinit/sources/DataSourceSmartOS.py'
--- cloudinit/sources/DataSourceSmartOS.py 2013-10-05 01:05:21 +0000
+++ cloudinit/sources/DataSourceSmartOS.py 2013-10-07 16:12:19 +0000
@@ -145,6 +145,7 @@
if not md['local-hostname']:
md['local-hostname'] = system_uuid
+ md['local-hostname'] = md['local-hostname'].strip()
ud = None
if md['user-data']: |
SmartOS uses whitespace when reporting the hostname via the meta-data source. As a result, the hostname assignment fails.
Simple fix:
=== modified file 'cloudinit/sources/DataSourceSmartOS.py'
--- cloudinit/sources/DataSourceSmartOS.py 2013-10-05 01:05:21 +0000
+++ cloudinit/sources/DataSourceSmartOS.py 2013-10-07 16:12:19 +0000
@@ -145,6 +145,7 @@
if not md['local-hostname']:
md['local-hostname'] = system_uuid
+ md['local-hostname'] = md['local-hostname'].strip()
ud = None
if md['user-data']: |
|
2013-10-07 16:35:45 |
Launchpad Janitor |
branch linked |
|
lp:cloud-init |
|
2013-10-08 00:09:15 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/cloud-init |
|
2013-10-08 01:01:52 |
Launchpad Janitor |
cloud-init (Ubuntu): status |
Confirmed |
Fix Released |
|
2013-12-17 21:53:02 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/cloud-init |
|