Skip to content

Commit

Permalink
Change remote when creating container with autopktest-build-lxd
Browse files Browse the repository at this point in the history
`images:` remote doesn't provide Ubuntu Server images anymore
  • Loading branch information
mirespace committed Oct 24, 2024
1 parent d654e77 commit e8726c3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion MergeProposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PPA: ppa:kstenerud/postfix-fix-lp1753470-postconf-segfault
Steps to test:
# lxc launch images:ubuntu/bionic builder
# lxc launch ubuntu-daily:ubuntu/bionic builder
# lxc exec builder bash
# apt dist-upgrade
Expand Down
2 changes: 1 addition & 1 deletion PackageBuilding.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ following example with the container image you wish to use.
From within the package repository:

```bash
$ lxc launch images:ubuntu/focal builder \
$ lxc launch ubuntu-daily:ubuntu/focal builder \
&& sleep 5 \
&& lxc exec builder -- mkdir -p /root/build/package \
&& tar cf - . | lxc exec builder -- tar xf - -C /root/build/package \
Expand Down
2 changes: 1 addition & 1 deletion PackageFixing.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ have their own preferences. Here's a couple of options:
To make a container for testing:

```bash
$ lxc launch images:ubuntu/bionic tester
$ lxc launch ubuntu-daily:ubuntu/bionic tester
$ lxc exec tester -- bash
```

Expand Down
4 changes: 2 additions & 2 deletions PackageMerging.md
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ Test the following:
Example:

```bash
$ lxc launch images:ubuntu/cosmic tester && lxc exec tester bash
$ lxc launch ubuntu-daily:ubuntu/cosmic tester && lxc exec tester bash
$ apt update && apt dist-upgrade -y && apt install -y at
```

Expand Down Expand Up @@ -978,7 +978,7 @@ $ echo "echo abc >test.txt" | at now + 1 minute && sleep 1m && cat test.txt && r
### Test installing the latest from scratch

```bash
$ lxc launch images:ubuntu/cosmic tester && lxc exec tester bash
$ lxc launch ubuntu-daily:ubuntu/cosmic tester && lxc exec tester bash
$ add-apt-repository -y ppa:kstenerud/at-merge-lp1802914
$ apt update && apt dist-upgrade -y && apt install at
$ echo "echo abc >test.txt" | at now + 1 minute && sleep 1m && cat test.txt && rm test.txt
Expand Down
2 changes: 1 addition & 1 deletion PackageTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ First, we will build the image we prepared in the previous section.
* To build a container image:
```bash
$ autopkgtest-build-lxd images:ubuntu/impish/amd64
$ autopkgtest-build-lxd ubuntu-daily:oracular
```
You should see an autopkgtest image now when you run `lxc image list`.
Expand Down

0 comments on commit e8726c3

Please sign in to comment.