From 2a247fa38ddc70ef7e7ca929b136786ca0028073 Mon Sep 17 00:00:00 2001 From: Yaron Kaikov Date: Thu, 22 Aug 2024 16:21:35 +0300 Subject: [PATCH] [cloud images] Add vim-nox and sysstat to images Based on https://github.com/scylladb/siren-devops/issues/1764#issuecomment-2283469016 we should add those packages and remove `htop` for the cloud usage Fixes: https://github.com/scylladb/siren-devops/issues/1764 --- packer/scylla_install_image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packer/scylla_install_image b/packer/scylla_install_image index f4fad2a..47923da 100755 --- a/packer/scylla_install_image +++ b/packer/scylla_install_image @@ -79,7 +79,7 @@ if __name__ == '__main__': run('apt-get update --allow-insecure-repositories -y', shell=True, check=True) run('apt-get full-upgrade -y', shell=True, check=True) run('apt-get purge -y apport python3-apport fuse', shell=True, check=True) - run('apt-get install -y systemd-coredump vim.tiny nload nmap ncat tmux jq python3-boto xfsprogs mdadm initramfs-tools ethtool', shell=True, check=True) + run('apt-get install -y systemd-coredump vim.tiny nmap ncat tmux jq python3-boto xfsprogs mdadm initramfs-tools ethtool vim-nox sysstat ', shell=True, check=True) run(f'apt-get install -y --auto-remove --allow-unauthenticated {args.product}-machine-image {args.product}-server-dbg', shell=True, check=True) os.remove('/etc/apt/sources.list.d/scylla_install.list') @@ -93,7 +93,7 @@ if __name__ == '__main__': run('apt-get purge -y modemmanager', shell=True, check=True) run('apt-get purge -y accountsservice', shell=True, check=True) run('apt-get purge -y acpid motd-news-config fwupd-signed', shell=True, check=True) - run('apt-get purge -y udisks2', shell=True, check=True) + run('apt-get purge -y udisks2 htop', shell=True, check=True) # drop packages does not need anymore run('apt-get autoremove --purge -y', shell=True, check=True)