Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Update OMI to 1.6.10.2 on Ubuntu VMs (#2629)
Browse files Browse the repository at this point in the history
* updating OMI version
  • Loading branch information
AdamL-Microsoft authored Nov 16, 2022
1 parent 40c85b8 commit 2120519
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/runtime-tools/linux/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,14 @@ fi
chmod -R a+rx /onefuzz/tools/linux

if type apt > /dev/null 2> /dev/null; then

# Install updated Microsoft Open Management Infrastructure - github.com/microsoft/omi
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc 2>&1 | logger -s -i -t 'onefuzz-OMI-add-MS-repo-key'
sudo apt-add-repository https://packages.microsoft.com/ubuntu/20.04/prod 2>&1 | logger -s -i -t 'onefuzz-OMI-add-MS-repo'
sudo apt update
sleep 10
sudo apt-get install -y omi=1.6.10.2 2>&1 | logger -s -i -t 'onefuzz-OMI-install'

until sudo apt install -y gdb gdbserver; do
echo "apt failed. sleep 10s, then retrying"
sleep 10
Expand Down

0 comments on commit 2120519

Please sign in to comment.