<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-vm-images.git/roles/install-grub/tasks, branch current</title>
<subtitle> (mirror of https://github.com/vyos/vyos-vm-images.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-vm-images.git/atom?h=current</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-vm-images.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-vm-images.git/'/>
<updated>2024-01-08T15:16:46+00:00</updated>
<entry>
<title>ansible remove legacy shell ars warning</title>
<updated>2024-01-08T15:16:46+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2024-01-08T15:16:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-vm-images.git/commit/?id=ee378cfa11cc746a6a36670ed3e7aab695da4b31'/>
<id>urn:sha1:ee378cfa11cc746a6a36670ed3e7aab695da4b31</id>
<content type='text'>
On the newest systems like Debian12 the asnible shell args: warn is
legacy

It cause of
```
TASK [install-grub : Mount and bind /dev /proc /sys and /mnt/wroot/boot to /mnt/inst_root] **********************************************************************************************
fatal: [localhost]: FAILED! =&gt; {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends."}

```

Delete args: warn
</content>
</entry>
<entry>
<title>T4278: Use overlayfs instead of aufs</title>
<updated>2022-03-16T06:49:07+00:00</updated>
<author>
<name>Yuya Kusakabe</name>
<email>yuya.kusakabe@gmail.com</email>
</author>
<published>2022-03-16T06:49:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-vm-images.git/commit/?id=d6532ad9f6d6317ec3a235148fb4458ec45bb419'/>
<id>urn:sha1:d6532ad9f6d6317ec3a235148fb4458ec45bb419</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added partition table type select option (MBR/GPT/hybrid)</title>
<updated>2021-03-15T17:48:41+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2021-01-23T21:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-vm-images.git/commit/?id=1d711c0159a7b8abbc7c801f9b4b2ff08a615317'/>
<id>urn:sha1:1d711c0159a7b8abbc7c801f9b4b2ff08a615317</id>
<content type='text'>
Since some of the build target platforms do not support hybrid partition table and require only MBR (AWS AMI), was added option that allows selecting a partition table type:

```
-e parrtable_type=type
```

where `type` can be one of: `mbr`, `gpt`, `hybrid`.
Default value is `hybrid`.
</content>
</entry>
<entry>
<title>minor fixes</title>
<updated>2020-10-08T06:05:15+00:00</updated>
<author>
<name>create with ansible</name>
<email>qxmips@debian10-vyos-build.local</email>
</author>
<published>2020-10-08T05:57:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-vm-images.git/commit/?id=8ef65f52418997af40a4afb2df83a8faef09111a'/>
<id>urn:sha1:8ef65f52418997af40a4afb2df83a8faef09111a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>minor fixes</title>
<updated>2020-10-08T05:35:44+00:00</updated>
<author>
<name>create with ansible</name>
<email>qxmips@debian10-vyos-build.local</email>
</author>
<published>2020-10-08T05:35:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-vm-images.git/commit/?id=cdbd9df937e524c1d89ef74c15a013e79359b9fc'/>
<id>urn:sha1:cdbd9df937e524c1d89ef74c15a013e79359b9fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixes for the images building process</title>
<updated>2020-05-26T18:49:18+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2020-05-26T18:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-vm-images.git/commit/?id=93879fe015cd9a60a94becd923c609376edf777d'/>
<id>urn:sha1:93879fe015cd9a60a94becd923c609376edf777d</id>
<content type='text'>
  - Fixed GRUB installation on UEFI hosts. On UEFI machines GRUB will try to install EFI version by default, so we need to set `--target` on i386-pc version too;
  - Fixed /dev/mapper devices unmounting, removing, and loopback detach. `kpartx -d` does not detach devices from `/dev/mapper` at least in a testing environment (Debian Buster inside Docker). That why we need to run `dmsetup remove` directly for this. The same with a loopback device. If not do this, resources will be busy and all builds except the first one may fail;
  - Deleted hybrid MBR creating task. It has a wrong syntax and does not work, and it looks like it is needless anyway.
</content>
</entry>
<entry>
<title>Build BIOS/UEFI Hybrid Images</title>
<updated>2020-04-29T14:30:37+00:00</updated>
<author>
<name>kroy</name>
<email>kroy@kroy.io</email>
</author>
<published>2020-04-28T18:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-vm-images.git/commit/?id=3ee8d560dc91173a2f1834cbad119b29177a6b3c'/>
<id>urn:sha1:3ee8d560dc91173a2f1834cbad119b29177a6b3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>QEMU image build improvements</title>
<updated>2020-02-20T17:40:42+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@vyos.io</email>
</author>
<published>2020-02-20T08:43:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-vm-images.git/commit/?id=332dbe851c44543b69e516439baf203c9bebcadc'/>
<id>urn:sha1:332dbe851c44543b69e516439baf203c9bebcadc</id>
<content type='text'>
* Added missed package dependencies (for Debian 10 based builders)
* Added additional options, which can be passed to the playbook:
  * iso_local - path to local ISO file
  * disk_size - target disk image size
  * cloud_init - enable or disable Cloud-init integration to an image
  * cloud_init_ds - set custom list of data sources for Cloud-init
* Added a version number and Cloud-init mark to a QCOW2 image name
* Cloud-init installation procedure tuned to use packages from a proper one VyOS repository, according to VyOS and Debian version
* Added workaround for /etc/network/interfaces to allow Cloud-init initialize network in a native way
* Replaced default config file to Jinja2 template
* Fixed GRUB installation on UEFI builders - added target i386-pc
* Replaced GRUB configuration:
  * enable both KVM and Serial console for all images (Serial by default)
  * added password recovery option for all images
  * added 5 seconds of a timeout to allow select proper menu entry
  * fixed booting for 1.3 VyOS
* Added loop device detach after image build - allows to build images multiple times without exhausting loop device limit
* Added fstrim applying for image - theoretically, this may save some space
* Enabled compression for QCOW2 image - this reduces image size significantly
* Added RAW image deletion after conversion to more accurate cleanup
</content>
</entry>
<entry>
<title>Cleanup playbook</title>
<updated>2018-06-27T16:23:02+00:00</updated>
<author>
<name>Yuya Kusakabe</name>
<email>yuya.kusakabe@gmail.com</email>
</author>
<published>2018-06-27T16:23:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-vm-images.git/commit/?id=86f71d4334f2269ff8f0268d200f03b73e1c26b7'/>
<id>urn:sha1:86f71d4334f2269ff8f0268d200f03b73e1c26b7</id>
<content type='text'>
</content>
</entry>
</feed>
