Initiate it: mac$ vagrant init puppetlabs/centos-6.6-64-puppet It may take a while, it is a large download.Ĭhange to the home directory for this virtual box: mac$ cd ~/virtual-boxes/centos This will download the needed resources from the Internet. Get a new Vagrant box for VirtualBox: mac$ vagrant box add puppetlabs/centos-6.6-64-puppet -provider virtualbox My virtual boxes should have a home in ~/virtual-boxes and this CentOS test host should live in ~/virtual-boxes/centos Get a new box and start it Let's go through a scenario step by step. This means that I expect this guide to be usableįor any Linux box that uses LVM for managing This step by step guide hasīeen my inspiration for increasing the disk: Īs far as I know, I am not doing anything that is CentOS specific. This means that the first thing I want to do is to increase the available disk space. However, is that the disk is too small for the application I want to test. I will start from a base box created by Puppet Labs. I need to have a test host running CentOS. If you do so, do not include the initial part ( mac$ I would cut and paste each command to the terminal. This should be interpreted as that I did ls on the mac and Will indicate the different environments like this: I want to make it clear where each command is executed, either in my terminal och the mac or in the virtual host. You might want toĬonsider installing Cygwin if you are using a broken os. I am on a Mac and this has been tested in my terminal. You are able to run commands from a shell. I assume that you have VirtualBox and Vagrant installed. When the disk has been increased, I will repackage the But it is possible and I will show you how. Unfortunately, it isn't as easy as oneĬould hope for. Show you how you can increase the disk space available on the virtual host. However, it may turn ut that the base box you use need to be enhanced. You can create it over and over again and it will only cost you someĮasy combination to get started with. Virtual servers are fantastic when you need to test something and want to make sure that you have a well knowĮnvironment. Tags: Centos, LVM, Linux, Vagrant, VirtualBox - Thomas Sundberg Increase the available disk on a CentOS host maintained by Vagrant and VirtualBox
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |