Skip to content

Conversation

@ssst0n3
Copy link
Contributor

@ssst0n3 ssst0n3 commented Aug 27, 2024

to fix #55

What this commit did:

  1. mkfs.ext4 -O ^has_journal,^metadata_csum
  2. restore initctl
  3. setup ttyS0
  4. remove packages ubuntu12 does not support

Testcase:

$ cat Dockerfile                                                                                                                                     
FROM ubuntu:12.04

# apt sources
RUN sed -i 's/archive/old-releases/g' /etc/apt/sources.list

$ docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock --privileged -v $(pwd):/d2vm -w /d2vm ssst0n3/d2vm:v0.2.1-dev build -f Dockerfile . -v

$ cp disk0.qcow2 vm.qcow2
$ qemu-system-x86_64 -hda vm.qcow2 --enable-kvm -nographic
...
Ubuntu 12.04.5 LTS localhost.localdomain ttyS0

localhost login: 

@ssst0n3
Copy link
Contributor Author

ssst0n3 commented Aug 29, 2024

see #58

@ssst0n3 ssst0n3 closed this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ubuntu 12.04 support

1 participant