Skip to content

Commit 10f2879

Browse files
committed
(IAC-1734) - Certify Debian 11
1 parent 3b944fe commit 10f2879

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"operatingsystem": "Debian",
4040
"operatingsystemrelease": [
4141
"9",
42-
"10"
42+
"10",
43+
"11"
4344
]
4445
},
4546
{
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Install system components
2+
apt-get update
3+
apt-get install -y curl gnupg apt-transport-https
4+
5+
# Import the public repository GPG keys
6+
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
7+
8+
# Register the Microsoft Product feed
9+
sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-bullseye-prod bullseye main" > /etc/apt/sources.list.d/microsoft.list'
10+
11+
# Update the list of products
12+
apt-get update
13+
14+
# Install PowerShell
15+
apt-get install -y powershell
16+
17+
# List version
18+
pwsh -v

0 commit comments

Comments
 (0)