github.com/rkt/rkt@v1.30.1-0.20200224141603-171c416fac02/tests/cloudinit/fedora-24.cloudinit (about)

     1  #!/bin/bash
     2  
     3  set -e
     4  set -x
     5  
     6  # ---pretend-input-tty (with 3 dashes) is an undocumented feature of parted
     7  parted /dev/xvda ---pretend-input-tty resizepart 1 yes 100%
     8  resize2fs /dev/xvda1
     9  
    10  chmod 755 /home/fedora
    11  
    12  dnf -y -v update
    13  dnf -y -v groupinstall "Development Tools" "C Development Tools and Libraries"
    14  # systemd-container only available in newer versions of Fedora
    15  dnf -y -v install systemd-container || true
    16  dnf -y -v install java || true
    17  dnf -y -v install iptables || true
    18  dnf -y -v install systemd-devel || true
    19  dnf -y -v install iptables intltool || true
    20  dnf -y -v distro-sync
    21  dnf -y -v install wget squashfs-tools patch glibc-static gnupg golang libacl-devel file openssl-devel bc
    22  dnf -y -v builddep systemd
    23  
    24  groupadd rkt || true
    25  gpasswd -a fedora rkt || true