summaryrefslogtreecommitdiffstats
path: root/images/enea-nfv-access-vnf.bb
blob: cb43bc38510c3425ab0c829283301eef13141955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "VNF image of the Enea NFV Access Platform, includes kernel, rootfs and boot parameters"

require images/enea-nfv-access-common.inc

# Enea VNF boot configuration
ROOT_VM = "root=/dev/vda2"
APPEND = "console=ttyS0,115200 hugepagesz=2M hugepages=512 isolcpus=1 nohz_full=1 rcu_nocbs=1 audit=0 quiet"
SYSLINUX_TIMEOUT = "30"

IMAGE_FSTYPES += "ext4.qcow2"

CLOUDINITPKGS = "cloud-init util-linux-blkid"
CLOUDINITPKGS += " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'cloud-init-systemd', '', d)}"

IMAGE_INSTALL += " \
    packagegroup-enea-virtualization-guest \
    nfv-init \
    iperf3 \
    ${CLOUDINITPKGS} \
    "