>From the logs, the local datasource for cloud-init is not claiming the datasource on the first run. If you run cloud-init again, it claims the data source again.
2013-09-30 14:36:00,208 - __init__.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceNoCloud.DataSourceNoCloud'> 2013-09-30 14:36:00,208 - util.py[DEBUG]: Reading from /proc/cmdline (quiet=False) 2013-09-30 14:36:00,209 - util.py[DEBUG]: Read 119 bytes from /proc/cmdline 2013-09-30 14:36:00,209 - util.py[DEBUG]: Reading from /var/lib/cloud/seed/nocloud/meta-data (quiet=False) 2013-09-30 14:36:00,212 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/sr0'] with allowed return codes [0, 2] (shell=False, capture=True) 2013-09-30 14:36:00,224 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=vfat', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True) 2013-09-30 14:36:00,252 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=iso9660', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True) 2013-09-30 14:36:00,268 - util.py[DEBUG]: Running command ['blkid', '-tLABEL=cidata', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True) 2013-09-30 14:36:00,285 - __init__.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceConfigDrive.DataSourceConfigDrive'> 2013-09-30 14:36:00,285 - util.py[DEBUG]: Running command ['blkid', '-odevice', '/dev/sr0'] with allowed return codes [0, 2] (shell=False, capture=True) 2013-09-30 14:36:00,305 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=vfat', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True) 2013-09-30 14:36:00,330 - util.py[DEBUG]: Running command ['blkid', '-tTYPE=iso9660', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True) 2013-09-30 14:36:00,396 - util.py[DEBUG]: Running command ['blkid', '-tLABEL=config-2', '-odevice'] with allowed return codes [0, 2] (shell=False, capture=True) 2013-09-30 14:36:00,460 - __init__.py[DEBUG]: Seeing if we can get any data from <class 'cloudinit.sources.DataSourceOVF.DataSourceOVF'> 2013-09-30 14:36:00,461 - util.py[DEBUG]: Reading from /proc/mounts (quiet=False) 2013-09-30 14:36:00,461 - util.py[DEBUG]: Read 850 bytes from /proc/mounts 2013-09-30 14:36:00,462 - util.py[DEBUG]: Fetched {'none': {'mountpoint': '/run/user', 'opts': 'rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755', 'fstype': 'tmpfs'}, 'devpts': {'mountpoint': '/dev/pts', 'opts': 'rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000', 'fstype': 'devpts'}, '/dev/disk/by-uuid/ef161361-e0cd-42ef-9cfb-71db599cb980': {'mountpoint': '/', 'opts': 'rw,relatime,data=ordered', 'fstype': 'ext4'}, 'sysfs': {'mountpoint': '/sys', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'sysfs'}, 'udev': {'mountpoint': '/dev', 'opts': 'rw,relatime,size=246792k,nr_inodes=61698,mode=755', 'fstype': 'devtmpfs'}, 'tmpfs': {'mountpoint': '/run', 'opts': 'rw,nosuid,noexec,relatime,size=50296k,mode=755', 'fstype': 'tmpfs'}, 'proc': {'mountpoint': '/proc', 'opts': 'rw,nosuid,nodev,noexec,relatime', 'fstype': 'proc'}, 'rootfs': {'mountpoint': '/', 'opts': 'rw', 'fstype': 'rootfs'}} mounts from /proc/mounts 2013-09-30 14:36:00,462 - cloud-init[DEBUG]: No local datasource found -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1217950 Title: SSH public key isn't created in vagrant cloud images To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1217950/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs