Skip to content

Commit

Permalink
Fedora: enable serial console
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Apr 27, 2024
1 parent e34c01a commit cee2a35
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions fedora-39.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ source "qemu" "fedora39" {
"insmod ext2<enter><wait>",
"insmod chain<enter><wait>",
"search --no-floppy --set=root -l 'Fedora-E-dvd-x86_64-39'<enter><wait>",
"linux /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-E-dvd-x86_64-39 rd.live.check ",
"inst.cmdline inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/fedora.ks<enter><wait>",
"linux /images/pxeboot/vmlinuz console=ttyS0 inst.notmux inst.cmdline ",
"inst.stage2=hd:LABEL=Fedora-E-dvd-x86_64-39 rd.live.check ",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/fedora.ks<enter><wait>",
"initrd /images/pxeboot/initrd.img<enter><wait10>",
"boot<enter><wait>"
]
qemuargs = [["-serial", "stdio"]]
}

build {
Expand Down
6 changes: 4 additions & 2 deletions fedora-40.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ source "qemu" "fedora40" {
"insmod ext2<enter><wait>",
"insmod chain<enter><wait>",
"search --no-floppy --set=root -l 'Fedora-E-dvd-x86_64-40'<enter><wait>",
"linux /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-E-dvd-x86_64-40 rd.live.check ",
"inst.cmdline inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/fedora.ks<enter><wait>",
"linux /images/pxeboot/vmlinuz console=ttyS0 inst.notmux inst.cmdline ",
"inst.stage2=hd:LABEL=Fedora-E-dvd-x86_64-40 rd.live.check ",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/fedora.ks<enter><wait>",
"initrd /images/pxeboot/initrd.img<enter><wait10>",
"boot<enter><wait>"
]
qemuargs = [["-serial", "stdio"]]
}

build {
Expand Down
6 changes: 4 additions & 2 deletions silverblue-39.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ source "qemu" "silverblue39" {
"insmod ext2<enter><wait>",
"insmod chain<enter><wait>",
"search --no-floppy --set=root -l 'Fedora-SB-ostree-x86_64-39'<enter><wait>",
"linux /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-SB-ostree-x86_64-39 rd.live.check ",
"inst.cmdline inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/silverblue.ks<enter><wait>",
"linux /images/pxeboot/vmlinuz console=ttyS0 inst.notmux inst.cmdline ",
"inst.stage2=hd:LABEL=Fedora-SB-ostree-x86_64-39 rd.live.check ",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/silverblue.ks<enter><wait>",
"initrd /images/pxeboot/initrd.img<enter><wait10>",
"boot<enter><wait>"
]
qemuargs = [["-serial", "stdio"]]
}

build {
Expand Down
6 changes: 4 additions & 2 deletions silverblue-40.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ source "qemu" "silverblue40" {
"insmod ext2<enter><wait>",
"insmod chain<enter><wait>",
"search --no-floppy --set=root -l 'Fedora-SB-ostree-x86_64-40'<enter><wait>",
"linux /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-SB-ostree-x86_64-40 rd.live.check ",
"inst.cmdline inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/silverblue.ks<enter><wait>",
"linux /images/pxeboot/vmlinuz console=ttyS0 inst.notmux inst.cmdline ",
"inst.stage2=hd:LABEL=Fedora-SB-ostree-x86_64-40 rd.live.check ",
"inst.ks=http://{{.HTTPIP}}:{{.HTTPPort}}/silverblue.ks<enter><wait>",
"initrd /images/pxeboot/initrd.img<enter><wait10>",
"boot<enter><wait>"
]
qemuargs = [["-serial", "stdio"]]
}

build {
Expand Down

0 comments on commit cee2a35

Please sign in to comment.