CHAPTER 8

image

Configuring Virtual Machines

This chapter will analyze and classify the most important configuration settings that can be used within the Vagrantfile. In particular, you will learn about the following:

  • VirtualBox-related configuration
    • VM name
    • GUI mode
    • Physical properties, such as RAM and number of CPUs
  • General VM settings
    • Hostname
    • Post-up message
    • Booting and halting timeouts
    • SSH settings
    • X11 forwarding
    • Box-related configuration
  • Networking
    • Port forwarding
    • Private networks
    • Public networks
  • Sync folders
    • Performance
    • Types: VirtualBox, NFS, rsync, SMB
  • Defining platform-specific configuration

Vir tualBox-Related Configuration

VirtualBox ...

Get Pro Vagrant now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.