/srv/irclogs.ubuntu.com/2018/03/30/#cloud-init.txt

blackboxswrharper: know why route -A inet6 has more ip6-localhost/multicast routes listed than 'ip 6 route show'? https://pastebin.ubuntu.com/p/vJD798wDJV/01:54
blackboxswhttps://pastebin.ubuntu.com/p/FfzWrJ6nzB/01:56
dj_dropsHello all, I am newbie to clout-init but I started to experimenting. Basically everything working as I want - but I have problem with runcmd module. Script is correctly creater under /var/lib/cloud/instance/scripts/runcmd (I have in module simple: touch /tmp/it_works). Even when I run cloud-init single --frequency=always --name=cc_runcmd nothing happens. OS Debian9.4 and cloud-init from debian repo 0.7.907:55
rharperblackboxsw: you want ip -6 route list table all14:35
=== r-daneel_ is now known as r-daneel
=== devicenull_ is now known as devicenull
blkadderMorning all. Is there a way to resize an AWS ec2 volume on launch with cloud-init? I know how to do it via aws cli but was hoping to avoid that.16:49
blkadderEBS...16:49
blkadderSorry16:49
rharperyeah, it should automatically16:55
rharpersorry, it resizes root16:56
rharperlemme look at config, I think it may also find attached EBS as well16:56
blkadderMy use case is that I have a AMI built with a 35GB root partition that I want to change to 250GB on launch for a specific role type if that helps.16:58
rharperyeah, in cc_growpart16:58
rharper http://cloudinit.readthedocs.io/en/latest/topics/modules.html#growpart16:58
blkadderCool thx.16:58
rharperit does root by default, but you can list other devices as well16:58
blkadderI just want to do root so that's fine.16:58
rharpercool16:58
rharperthere are restrictions w.r.t how you have your device partition,  is it a single partition ?16:59
rharperthat is the rootfs has to be on the "last" partition before the free space;17:00
blkadderYes, but looking at this, it looks like it will only grow the partition to fill space.17:00
blkadderI need to change the size on launch.17:00
blkadderPerhaps I need to use the aws cli for that when launching?17:00
rharperoh, I see, you mean the actual device, not just the file system17:00
blkadderYep17:01
rharperah, yeah cloud-init doesn't call into to aws cli/api17:01
rharperI think you can specify that at launch though17:01
blkadderOk, let me go figure that part out, thx.17:01
blkadderThen I can just use growpart for the last bit.17:02
rharpery17:02
blkadderty17:02
=== r-daneel_ is now known as r-daneel
powersjrharper: if I add an invalid key to cloud-config is there suppose to be an error of some sort or is it ignored?17:58
* powersj can't recall the behavior 17:59
rharperpowersj: in some cases we have schema17:59
rharperso in bionic in the modules where it's enabled, like ntp, it'll throw an exception17:59
powersjah that's right!17:59
powersjok thanks :)17:59
rharperin general, if you pass in an unknown key at the top level, you won't see any error17:59
rharperif you specify an unknown value in sub dicts, also not likely to trip anything up save schema enabled modules18:00
rharperhttps://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/33943818:00
rharperpowersj: that's ready for test18:00
rharperif you feel so inclined18:00
powersjrharper: thx will be early next week most likly18:02
rharpersure, no worries18:02
=== r-daneel_ is now known as r-daneel
rascal999I've got a cloud-config script I'd like to use with a VPS but the provider no longer supports cloud-init. Is it possible to install cloud-init and put the user data somewhere and reboot? Distro is Ubuntu19:48
rharperrascal999: yes, you want to use the NoCloud datatsource19:50
rharperhttp://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html19:50
powersjrascal999: are you the one who sent mail to the mailing list?19:51
powersjif I recall he added the limitation of being unable to add a device19:52
rharperthat was VMware stuff19:52
powersjoh look at that.. my bad19:53
rharperwell, it's somewhat related, the difference was wanting to genernate network config outside of the cloud-init boot process, which we don't currently support19:53
rharperI've not yet replied to that on list19:53
rharperit's something that could be added to the cli; just not there today19:53
rharpersomewhat complicated by *when* can you run scripts in your image;19:54
rascal999rharper: thanks for this I'll have a look20:00
rascal999powersj: I haven't raised this in mailing list20:00

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!