Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance sample config setup section #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

keithrbennett
Copy link
Contributor

@keithrbennett keithrbennett commented Apr 14, 2020

The contents of the setup section in this PR will create a small informational file in the new VM's vagrant home directory. The information contained in the file may be helpful in better understanding the VM and differentiating it from other VM's. Example:

VM Creation Time: Tue Apr 14 20:31:06 UTC 2020


OS Release:       16.04.6 LTS (Xenial Xerus)


uname -a:
Linux ubuntu-xenial 4.4.0-177-generic #207-Ubuntu SMP Mon Mar 16 01:16:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
udev            2.0G     0  2.0G   0% /dev
tmpfs           396M  5.5M  390M   2% /run
/dev/sda1       9.7G  1.5G  8.2G  16% /
tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
vagrant         466G  429G   38G  92% /vagrant
tmpfs           396M     0  396M   0% /run/user/1000


Memory:
              total        used        free      shared  buff/cache   available
Mem:           3.9G         49M        3.5G        5.5M        347M        3.6G
Swap:            0B          0B          0B


Content of host directory linked to /vagrant as of VM creation time:
total 72
drwxr-xr-x 1 vagrant vagrant   288 Apr 14 02:58 app
drwxr-xr-x 1 vagrant vagrant   224 Apr 14 02:59 bin
drwxr-xr-x 1 vagrant vagrant   512 Apr 14 02:58 config
-rw-r--r-- 1 vagrant vagrant   130 Apr 14 02:58 config.ru
drwxr-xr-x 1 vagrant vagrant    96 Apr 14 02:58 db
-rw-r--r-- 1 vagrant vagrant  1511 Apr 14 03:33 Gemfile
-rw-r--r-- 1 vagrant vagrant  4899 Apr 14 03:33 Gemfile.lock
drwxr-xr-x 1 vagrant vagrant   128 Apr 14 02:58 lib
drwxr-xr-x 1 vagrant vagrant   128 Apr 14 03:28 log
drwxr-xr-x 1 vagrant vagrant   288 Apr 14 02:58 public
-rw-r--r-- 1 vagrant vagrant   227 Apr 14 02:58 Rakefile
-rw-r--r-- 1 vagrant vagrant   374 Apr 14 02:58 README.md
drwxr-xr-x 1 vagrant vagrant   128 Apr 14 03:34 spec
drwxr-xr-x 1 vagrant vagrant    96 Apr 14 02:58 storage
drwxr-xr-x 1 vagrant vagrant   224 Apr 14 03:28 tmp
-rw------- 1 vagrant vagrant 42832 Apr 14 19:55 ubuntu-xenial-16.04-cloudimg-console.log
-rw-r--r-- 1 vagrant vagrant   162 Apr 14 03:14 Vagrantfile
drwxr-xr-x 1 vagrant vagrant    96 Apr 14 02:58 vendor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant