On Fri, May 24, 2013 at 10:47:25AM +0200, Juerg Haefliger wrote:
1) The hostname is not set correctly. See my updates to
https://bugzilla.redhat.com/show_bug.cgi?id=964006. Looks to me like a
systemd/selinux issue.
Ahaha!
I had ruled that out because I booted with selinux=0 and it didn't work
either.
But apparently, cloud-init completely fails in that situation too.
So, I changed to writing "SELINUX=permissive" to /etc/sysconfig/selinux, and
that didn't work either, but on further inspection, on boot SELinux is still
in enforcing mode, ignoring that config file. (Changed it to
"SELINUX=disabled" doesn't work either.)
Sooo, I booted with enforcing=0 on the kernel command line, and now it
works.
I think maybe I need a vacation. :)
Are the sysconfig options not working for other people?
(I think probably `Requires systemd-hostnamed.service` in the systemd config is
a good idea too.)
2) The root partition is not resized. There's two problems:
a) cloud.cfg doesn't list the growpart module ->
https://bugzilla.redhat.com/show_bug.cgi?id=966888
b) cloud-init can't find a resizer, since F19 parted doesn't seem
to support online partition resizing (option 'resizepart' is not
available). The work-around for this is to install cloud-utils.
cloud-utils brings in a lot of dependenies. Including, apparently, glusterfs
and ceph. Do you think it's possible/useful to split out growpart?
It looks like the resizepart command isn't upstream (even in the
3) Can we please make the default user more provider agnostic?
Pretty
please?? I propose to follow Debian and Ubuntu and use 'fedora' as the
default user.
Yeah. I just want consensus on this. Let's start a new thread discussing it.
(One particular question is whether we want to use ec2-user in EC2, or the
generic one.) Also, the livecd uses "liveuser". Maybe we should use
"clouduser"?
4) The kickstart file is stored in /root. That should probably be
purged.
Sure. It's pretty standard to have it there, but we can save 6K and people
can look for it on the web. :)
5) The console log is empty. Can we add 'console=ttyS0' to
the kernel
commandline?
Sorry, yeah. I meant to do that before.
6) cloud-init doesn't display the networking info correctly
->
https://bugzilla.redhat.com/show_bug.cgi?id=949832
*nod* Yeah, I've known about that. Thanks for filing the bug.
--
Matthew Miller ☁☁☁ Fedora Cloud Architect ☁☁☁ <mattdm(a)fedoraproject.org>