#!/bin/bash
{
echo "d";
echo "2";
echo "3";
echo "n";
echo "";
echo "+${SWAP_SIZE}G";
echo "y";
echo "t";
echo "19";
echo "23";
echo "w";
} | fdisk "$OS_DISK";