Skip to content

Commit

Permalink
[cloud images] Add vim-nox and sysstat to images
Browse files Browse the repository at this point in the history
Based on
scylladb/siren-devops#1764 (comment)
we should add those packages and remove `htop` for the cloud usage

Fixes: scylladb/siren-devops#1764
  • Loading branch information
yaronkaikov committed Aug 22, 2024
1 parent cb2d61f commit 2a247fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packer/scylla_install_image
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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)
Expand Down

0 comments on commit 2a247fa

Please sign in to comment.