Skip to content

Instantly share code, notes, and snippets.

View christian7007's full-sized avatar

Christian González christian7007

  • AWS
  • Vancouver, Canada
  • 07:07 (UTC -07:00)
View GitHub Profile
# --------------------------------------------------------------------------
# Copyright 2002-2020, OpenNebula Project, OpenNebula Systems
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.2.0 Kernel Configuration
#
#
# Compiler: gcc (Arch Linux 9.3.0-1) 9.3.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90300
###############################
# Commands & info
###############################
$ qemu-system-x86_64 -machine q35,accel=kvm \
-kernel /home/christian/ws/firecracker-one/var//datastores/2/d7d3b12fd83cbdd9b152a69b46ff74d7 \
-drive file=/home/christian/ws/firecracker-one/var//datastores/1/10b223204f41679fdb9942e0a3a814b2,if=virtio,format=raw \
-append 'root=/dev/vda console=ttyS0' -vga none -display none \
-serial mon:stdio
$ file /home/christian/ws/firecracker-one/var//datastores/2/d7d3b12fd83cbdd9b152a69b46ff74d7
@christian7007
christian7007 / event-client.rb
Last active February 24, 2020 12:59
Client for OpenNebula API events.
#!/usr/bin/env ruby
ONE_LOCATION = ENV['ONE_LOCATION']
if !ONE_LOCATION
RUBY_LIB_LOCATION = '/usr/lib/one/ruby'
GEMS_LOCATION = '/usr/share/one/gems'
else
RUBY_LIB_LOCATION = ONE_LOCATION + '/lib/ruby'
GEMS_LOCATION = ONE_LOCATION + '/share/gems'