Skip to content

Commit 5138f72

Browse files
authored
Merge pull request #381 from puppetlabs/pdksync_GH-cat-11/main/add_ubuntu_22.04_support
pdksync - (GH-cat-11) Certify Support for Ubuntu 22.04
2 parents 1f592f4 + e431983 commit 5138f72

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@
7171
"operatingsystem": "Ubuntu",
7272
"operatingsystemrelease": [
7373
"18.04",
74-
"20.04"
74+
"20.04",
75+
"22.04"
7576
]
7677
},
7778
{
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Download the Microsoft repository GPG keys
2+
wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
3+
4+
# Register the Microsoft repository GPG keys
5+
dpkg -i packages-microsoft-prod.deb
6+
7+
# Update the list of products
8+
apt-get update
9+
10+
# Enable the "universe" repositories
11+
add-apt-repository universe
12+
13+
# Install PowerShell
14+
apt-get install -y powershell
15+
16+
# List version
17+
pwsh -v

0 commit comments

Comments
 (0)