Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ def pre_install
code <<-PREREQ
set -e
DEBIAN_FRONTEND=noninteractive
NEEDRESTART_MODE=l
apt -y install whoopsie
apt -y install ubuntu-desktop && apt -y install mesa-utils || (dpkg --configure -a && exit 1)
apt -y purge ifupdown
wget https://d1uj6qtbmh3dt5.cloudfront.net/NICE-GPG-KEY
gpg --import NICE-GPG-KEY
sudo snap restart amazon-ssm-agent
PREREQ
retries 10
retry_delay 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ def self.nothing(chef_run)
when 'ubuntu'
is_expected.to periodic_apt_update('')
is_expected.to run_bash('install pre-req').with_cwd(Chef::Config[:file_cache_path]).with_retries(10).with_retry_delay(5)
.with_code(/NEEDRESTART_MODE=l/)
.with_code(/apt -y install whoopsie/)
.with_code(/apt -y install ubuntu-desktop && apt -y install mesa-utils || (dpkg --configure -a && exit 1)/)
.with_code(/apt -y purge ifupdown/)
Expand Down
Loading