harlowja | hmmm, supposed to work | 00:02 |
---|---|---|
harlowja | but maybe i broke it, ha | 00:02 |
harlowja | abhi_ what is in /etc/cloud/cloud.cfg ? | 00:03 |
harlowja | 'Undecodable permissions None, assuming 420' seems bad | 00:03 |
harlowja | whats the userdata u are sending (no private info in it thx) | 00:03 |
abhi_ | User data is: | 00:15 |
abhi_ | #cloud-config repo_update: true repo_upgrade: all packages: - httpd - crypto-utils - mod_perl - mod_ssl - mod_wsgi - mysql-server - php - php-gd - php-pdo - php-pear - php-xml - php-mysql - git ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+a7nTOBzHq/dcK3j8q6HCcyJDO7g7lv4QSdPGrtIH/M+u3fEqbo4f5JCIouP2yxeCCJolvEXOo0iMvKcfv0z2yiF5c1Xe8ilDwRbbIDAVEcQ1hlIm+LC3ScFTzd0EG/150FCIHAHna5UZfi36ZDm2ofdz1RcL9yMOu+ | 00:15 |
abhi_ | It is basically bunc onf yum packages, ssh_authorized_keys, write_files. Note that the same user data works when I create the VM and attach the disk. Though it works partiall when I attache the disk to a cloned VM | 00:16 |
abhi_ | contents of /etc/cloud/cloud.cfg in cloned VM is same as the created VM on which the userdata works perfectly including yum packages installation. | 00:27 |
abhi_ | content of /etc/cloud/cloud.cfg: | 00:27 |
abhi_ | users: - default disable_root: 1 ssh_pwauth: 0 locale_configfile: /etc/sysconfig/i18n mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2'] resize_rootfs_tmp: /dev ssh_deletekeys: 0 ssh_genkeytypes: ~ syslog_fix_perms: ~ cloud_init_modules: - migrator - bootcmd - write-files - growpart - resizefs - set_hostname - update_hostname - update_etc_hosts - rsyslog - users-groups - ssh cloud_config_modules: | 00:27 |
abhi_ | - yum-add-repo - package-update-upgrade-install - timezone - puppet - chef - salt-minion - mcollective - disable-ec2-metadata - runcmd cloud_final_modules: - rightscale_userdata - scripts-per-once - scripts-per-boot - scripts-per-instance - scripts-user - ssh-authkey-fingerprints - keys-to-console - phone-home - final-message system_info: default_user: name: centos lock_passwd: true gecos: Cloud Use | 00:28 |
abhi_ | sudo: ["ALL=(ALL) NOPASSWD:ALL"] shell: /bin/bash distro: rhel paths: cloud_dir: /var/lib/cloud templates_dir: /etc/cloud/templates ssh_svcname: sshd # vim:syntax=yaml | 00:28 |
harlowja | can u put that in a pastebin somewhere | 00:54 |
harlowja | my guess is some syntax is off somehow | 00:54 |
abhi_ | sure, http://pastebin.com/zJDsFaNC | 01:15 |
abhi_ | thanks | 01:15 |
abhi_ | just want to point out that this cfg works when I create the VM and attach configdrivev2 iso, only during clone case certain things of cuser data like yum, git clone does not work. Userdata: http://pastebin.com/gn0XiVbx | 01:22 |
=== jroll is now known as jroll|dupe | ||
=== jroll|dupe is now known as brickednick | ||
=== brickednick is now known as jroll | ||
=== shardy is now known as shardy_afk | ||
=== shardy_afk is now known as shardy | ||
harlowja | hmmm, guess can't help abhi diagnosis the rest of that issue, lol | 17:33 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!