Start from a minimal installation of Ubuntu Server 22.04.
In this case, I've set up a VM with two network interfaces, one NAT for connection to the internet, and one bridged network interface to connect from the host to the guest VM.
| __pycache__ |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: test-app | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: test-app | |
| template: | |
| metadata: |
| LINUX_VERSION=5.9-rc7 | |
| LINUX_KERNEL_VERSION=mainline-${LINUX_VERSION} | |
| ZFS_VERSION=0.8.6 | |
| # Find ROOT_DIR | |
| ROOT_DIR=/c | |
| if [ ! -z "$(ls -A /mnt/c)" ]; then | |
| ROOT_DIR=/mnt/c | |
| fi |
| # WSL2 network port forwarding script v1 | |
| # for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell, | |
| # for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter. | |
| # written by Daehyuk Ahn, Aug-1-2020 | |
| # Display all portproxy information | |
| If ($Args[0] -eq "list") { | |
| netsh interface portproxy show v4tov4; | |
| exit; | |
| } |
| #!/bin/bash | |
| # Sets up aliases for microk8s on the server | |
| echo "alias m='microk8s' | |
| alias k='microk8s kubectl' | |
| alias h='microk8s helm3'" >> ~/.bash_aliases | |
| source ~/.bash_aliases |
| syntax = "proto3"; | |
| package sensors; | |
| option go_package="sensorpb"; | |
| message SensorRequest { | |
| } | |
| message SensorResponse { | |
| int64 value = 1; | |
| } |
| 'use strict'; | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| const webpack = require('webpack'); | |
| const resolve = require('resolve'); | |
| const PnpWebpackPlugin = require('pnp-webpack-plugin'); | |
| const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
| const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); | |
| const InlineChunkHtmlPlugin = require('react-dev-utils/InlineChunkHtmlPlugin'); |
registry=localhost:32000
repositories=$(curl ${registry}/v2/_catalog)
for repo in $(echo "${repositories}" | jq -r '.repositories[]'); do
echo $repo
tags=$(curl -sSL "http://${registry}/v2/${repo}/tags/list" | jq -r '.tags[]')
for tag in $tags; do
echo $tag
curl -v -sSL -X DELETE "http://${registry}/v2/${repo}/manifests/$(
curl -sSL -I \