Giter Site home page Giter Site logo

bvm's Introduction

Introduction

The BVM is a Bhyve virtual machine management tool based on FreeBSD that allows you to easily manage virtual machines.

Features

  1. The supported operating systems are: FreeBSD OpenBSD NetBSD Debian OpenSuse Ubuntu Windows10 etc.
  2. Supports multiple network cards and multiple hard disks.
  3. There are two kinds of network modes: Bridged and NAT
  4. Support grub and uefi boot
  5. Support for ZFS

Installation

  # pkg update
  # pkg install bvm

-- or --

  # portsnap fetch update
  # cd /usr/ports/sysutils/bvm/
  # make install clean

Basic Setup

Before running, you need to edit the bvm.conf file to set the virtual machine storage directory

vmdir=/your/vm/dir/

Usage

Usage:  bvm <options> [args...]
Options:
        --abinfo        Output autoboot vms info
        --addisk        Add an new disk
        --autoboot      Auto booting vms
        --clone         Vm cloning
        --config        Configure for vm
        --create        Create new vm
        --deldisk       Delete a disk
        --decrypt       Decrypt vm
        --encrypt       Encrypt vm
        --login         Login to vm
        --ls            List vm and status
        --ll            List vm and status in long format
        --lock          Lock vm
        --lockall       Lock all vms
        --os            Output os lists
        --poweroff      Force poweroff
        --reload-nat    Reload NAT redirect-port
        --remove        Destroy vm
        --rename        Rename vm
        --restart       Restart vm
        --rollback      Roll back to the snapshot point
        --setnat        Setting NAT's IP-addr
        --setsw         Setting Switch's IP-addr
        --setpr         Setting the port redirection list
        --showpr        Show port redirection list
        --showdev       Show device
        --showdevall    Show all devices in class mode
        --showdevuse    Show all devices in simple mode
        --showdhcp      Show all DHCP clients
        --showsnap      Show snapshots list of the vm
        --showsnapall   Show snapshots list of the all vm
        --snapshot      Generating snapshots for vm
        --start         Start vm
        --stop          Stop vm
        --unlock        Unlock vm
        --unlockall     Unlock all vms
        --unsetsw       Unset Switch's IP-addr
        --vminfo        Output vm info

Example:
        bvm --start vmname
        bvm --clone oldname newname
        bvm --ls

bvm's People

Contributors

bigdragonsoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bvm's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.