=== esv_ is now known as esv | ||
myj3384 | hello | 15:32 |
---|---|---|
myj3384 | I'm new to cloud-init and searching for support | 15:34 |
minimal | what sort of support exactly? | 15:43 |
myj3384 | First, thanks for answering. I want to create a kubernetes cluster at home, using 4 raspberry pi (for learning purpose). | 16:27 |
myj3384 | I would like to use cloud-init to configure automatically the sd card at first boot by readjusting the partion table before ubuntu installation | 16:27 |
myj3384 | And I'm struggling to do it. | 16:27 |
myj3384 | I tried, at the beginning to use following command in the user-data file : | 16:27 |
myj3384 | storage: | 16:27 |
myj3384 | layout: | 16:27 |
myj3384 | name: lvm | 16:27 |
myj3384 | config: | 16:27 |
myj3384 | - type: disk | 16:27 |
myj3384 | id: disk0 | 16:27 |
myj3384 | ptable: gpt | 16:27 |
myj3384 | path: /dev/mmcblk0 | 16:27 |
myj3384 | preserve: false | 16:27 |
myj3384 | name: '' | 16:27 |
myj3384 | grub_device: false | 16:27 |
myj3384 | - type: partition | 16:28 |
myj3384 | id: partition0 | 16:28 |
myj3384 | disk: disk0 | 16:28 |
myj3384 | flag: '' | 16:28 |
myj3384 | format: xfs | 16:28 |
myj3384 | but it was not considered at first boot and therefore ubuntu extended the initial partition to the end of my sd card | 16:28 |
minimal | myj3384: so you're installing Ubuntu server? (which comes with subquity and cloud-init to act as an installer). If so then the #ubuntu-server channel is probably a better place to ask any questions | 18:22 |
minimal | cloud-init by itself is *not* an installer, it is something that runs at boot. However some distros, like Ubuntu Server, make use of cloud-init as part of their installer (i.e. Subquity for Ubuntu Server) | 18:23 |
pepperoni | is there a way to create an interface in a down state in cloud-init? I have several and want one to be off. | 21:22 |
minimal | pepperoni: cloud-init doesn't create network interfaces, it configures them | 21:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!