echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/50-group-sudo-nopasswd
sudo cat /proc/<pid>/environ | tr '\0' '\n'git fetch upstream pull/${PR_ID}/head && git checkout FETCH_HEAD#!/bin/bash
set -e
export NODE_EXPORTER_VERSION="1.3.1"
# Make file naming consistent with apt repository
readonly NAME=prometheus-node-exporter
readonly EXECUTABLE=/usr/local/bin/$NAMEGet-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabledsudo fdisk -lsudo resize2fs /dev/nvme0nxxx