Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

Conversation

@alban
Copy link
Member

@alban alban commented Apr 12, 2017

Supersedes #3622: I am doing a new PR because the CI seems broken.


For testing purpose, I need to add extra kernel parameters in the VM.

Implemented in this way:

sudo RKT_HYPERVISOR_EXTRA_KERNEL_PARAMS="foo1=bar foo2=bar"
./build-rkt-1.21.0+git/target/bin/rkt run
--stage1-path=$PWD/build-rkt-1.21.0+git/target/bin/stage1-kvm.aci
--insecure-options=image --interactive
docker://busybox --cpu 1 --exec sh -- -c
'cat /proc/cmdline'

noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 console=ttyS0 i8042.noaux=1 rw rootflags=trans=virtio,version=9p2000.L,cache=mmap rootfstype=9p systemd.default_standard_error=journal+console systemd.default_standard_output=journal+console systemd.machine_id=3a2af63d415946778491bda1cb828c57 console=hvc0 init=/usr/lib/systemd/systemd no_timer_check noreplace-smp tsc=reliable systemd.show_status=false systemd.log_target=null rd.udev.log-priority=3 quiet=vga quiet systemd.log_level=emerg foo1=bar foo2=bar


We'll need this for https://github.com/kinvolk/stage1-builder
/cc @schu

@lucab
Copy link
Member

lucab commented Apr 12, 2017

Sorry, CI had been broken due to the switch to a different org. It seems to have been properly picked-up now.

@lucab
Copy link
Member

lucab commented May 9, 2017

@alban would you mind rebasing on current master? It should help on the testing side.

@jellonek @grahamwhaley I think I can just carry on your previous LGTMs to here.

@lucab lucab added this to the v1.26.0 milestone May 9, 2017
@grahamwhaley
Copy link

Yep, a cursory glance looks like it is the same as before, so
lgtm

For testing purpose, I need to add extra kernel parameters in the VM.

Implemented in this way:

sudo RKT_HYPERVISOR_EXTRA_KERNEL_PARAMS="foo1=bar foo2=bar" \
  ./build-rkt-1.21.0+git/target/bin/rkt run \
  --stage1-path=$PWD/build-rkt-1.21.0+git/target/bin/stage1-kvm.aci \
  --insecure-options=image --interactive \
  docker://busybox --cpu 1 --exec sh -- -c \
  'cat /proc/cmdline'

noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1 console=ttyS0 i8042.noaux=1 rw rootflags=trans=virtio,version=9p2000.L,cache=mmap rootfstype=9p systemd.default_standard_error=journal+console systemd.default_standard_output=journal+console systemd.machine_id=3a2af63d415946778491bda1cb828c57 console=hvc0 init=/usr/lib/systemd/systemd no_timer_check noreplace-smp tsc=reliable systemd.show_status=false systemd.log_target=null rd.udev.log-priority=3 quiet=vga quiet systemd.log_level=emerg foo1=bar foo2=bar
@alban alban force-pushed the alban/hypervisor-kernel-params-2 branch from f03226c to 0a4eac9 Compare May 9, 2017 09:39
@alban
Copy link
Member Author

alban commented May 9, 2017

Rebased and force-pushed. There was no conflicts.

Copy link
Member

@lucab lucab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capturing two previous LGTMs from @jellonek and @grahamwhaley.

@lucab lucab merged commit 3c09a57 into rkt:master May 9, 2017
@schu schu deleted the alban/hypervisor-kernel-params-2 branch June 15, 2017 12:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants