diff --git a/targets.sh b/targets.sh index 9e90464..d757d37 100644 --- a/targets.sh +++ b/targets.sh @@ -4,7 +4,7 @@ case "${TARGET}" in RELSUFFIX=${RELSUFFIX:-.el6} TYPE=${TYPE:-rpm} TAGS=${TAGS:-rpm sysv one} - DEPENDS=${DEPENDS:-util-linux-ng bind-utils cloud-utils-growpart dracut-modules-growroot ruby rubygem-json open-vm-tools qemu-guest-agent} + DEPENDS=${DEPENDS:-util-linux-ng bind-utils cloud-utils-growpart dracut-modules-growroot ruby rubygem-json sudo open-vm-tools qemu-guest-agent} REPLACES=${REPLACES:-cloud-init} POSTIN=${POSTINST:-postinstall.one} PREUN=${PREUN:-preuninstall.one} @@ -16,7 +16,7 @@ case "${TARGET}" in RELSUFFIX=${RELSUFFIX:-.el6} TYPE=${TYPE:-rpm} TAGS=${TAGS:-rpm sysv ec2} - DEPENDS=${DEPENDS:-util-linux-ng bind-utils cloud-utils-growpart dracut-modules-growroot ruby rubygem-json} + DEPENDS=${DEPENDS:-util-linux-ng bind-utils cloud-utils-growpart dracut-modules-growroot ruby rubygem-json sudo} REPLACES=${REPLACES:-cloud-init} POSTIN=${POSTINST:-postinstall.ec2} PREUN=${PREUN:-preuninstall.ec2} @@ -27,7 +27,7 @@ case "${TARGET}" in RELSUFFIX=${RELSUFFIX:-.el7} TYPE=${TYPE:-rpm} TAGS=${TAGS:-rpm systemd one} - DEPENDS=${DEPENDS:-util-linux bind-utils cloud-utils-growpart ruby rubygem-json open-vm-tools qemu-guest-agent} + DEPENDS=${DEPENDS:-util-linux bind-utils cloud-utils-growpart ruby rubygem-json sudo open-vm-tools qemu-guest-agent} REPLACES=${REPLACES:-cloud-init} POSTIN=${POSTINST:-postinstall.one} PREUN=${PREUN:-preuninstall.one} @@ -38,7 +38,7 @@ case "${TARGET}" in RELSUFFIX=${RELSUFFIX:-.el7} TYPE=${TYPE:-rpm} TAGS=${TAGS:-rpm sysv ec2} - DEPENDS=${DEPENDS:-util-linux bind-utils cloud-utils-growpart ruby rubygem-json} + DEPENDS=${DEPENDS:-util-linux bind-utils cloud-utils-growpart ruby rubygem-json sudo} REPLACES=${REPLACES:-cloud-init} POSTIN=${POSTINST:-postinstall.ec2} PREUN=${PREUN:-preuninstall.ec2} @@ -49,7 +49,7 @@ case "${TARGET}" in RELSUFFIX=${RELSUFFIX:-.suse} TYPE=${TYPE:-rpm} TAGS=${TAGS:-rpm systemd one} - DEPENDS=${DEPENDS:-util-linux bind-utils growpart ruby open-vm-tools qemu-guest-agent} # rubygem-json} + DEPENDS=${DEPENDS:-util-linux bind-utils growpart ruby sudo open-vm-tools qemu-guest-agent} # rubygem-json} REPLACES=${REPLACES:-cloud-init cloud-init-config-suse} POSTIN=${POSTINST:-postinstall.one} PREUN=${PREUN:-preuninstall.one} @@ -60,7 +60,7 @@ case "${TARGET}" in RELSUFFIX=${RELSUFFIX:-} TYPE=${TYPE:-deb} TAGS=${TAGS:-deb sysv systemd upstart one} - DEPENDS=${DEPENDS:-util-linux bind9-host cloud-utils ruby python ifupdown acpid open-vm-tools qemu-guest-agent} + DEPENDS=${DEPENDS:-util-linux bind9-host cloud-utils ruby python ifupdown acpid sudo open-vm-tools qemu-guest-agent} REPLACES=${REPLACES:-cloud-init} POSTIN=${POSTINST:-postinstall.one} PREUN=${PREUN:-preuninstall.one} @@ -71,7 +71,7 @@ case "${TARGET}" in RELSUFFIX=${RELSUFFIX:-} TYPE=${TYPE:-deb} TAGS=${TAGS:-deb ec2} - DEPENDS=${DEPENDS:-util-linux bind9-host cloud-utils ruby python ifupdown} + DEPENDS=${DEPENDS:-util-linux bind9-host cloud-utils ruby python ifupdown sudo} REPLACES=${REPLACES:-cloud-init} POSTIN=${POSTINST:-postinstall.ec2} PREUN=${PREUN:-preuninstall.ec2} @@ -82,7 +82,7 @@ case "${TARGET}" in RELSUFFIX=${RELSUFFIX:-} TYPE=${TYPE:-apk} TAGS=${TAGS:-apk one} - DEPENDS=${DEPENDS:-util-linux bash curl rsync udev iptables sfdisk e2fsprogs-extra open-vm-tools qemu-guest-agent keepalived quagga} + DEPENDS=${DEPENDS:-util-linux bash curl rsync udev iptables sfdisk e2fsprogs-extra open-vm-tools qemu-guest-agent keepalived quagga sudo} REPLACES=${REPLACES:-} POSTIN=${POSTINST:-postinstall.one} PREUN=${PREUN:-preuninstall.one}