Creació de boxes de vagrant de cada una de les 5 MVs creades
Ubuntu
[09:08:38][Documents][agarcia@agarciaVBoxManage import ubuntu.ova
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/agarcia/Documents/ubuntu.ova...
OK.
Disks:
vmdisk1 26843545600 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized ubuntu-disk001.vmdk -1 -1
Virtual system 0:
0: Suggested OS type: "Ubuntu_64"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "ubuntu"
(change with "--vsys 0 --vmname <name>")
2: Suggested VM group "/"
(change with "--vsys 0 --group <group>")
3: Suggested VM settings file name "/home/agarcia/VirtualBox VMs/ubuntu/ubuntu.vbox"
(change with "--vsys 0 --settingsfile <filename>")
4: Suggested VM base folder "/home/agarcia/VirtualBox VMs"
(change with "--vsys 0 --basefolder <path>")
5: Number of CPUs: 4
(change with "--vsys 0 --cpus <n>")
6: Guest memory: 4096 MB
(change with "--vsys 0 --memory <MB>")
7: Sound card (appliance expects "", can change on import)
(disable with "--vsys 0 --unit 7 --ignore")
8: USB controller
(disable with "--vsys 0 --unit 8 --ignore")
9: Network adapter: orig NAT, config 3, extra slot=0;type=NAT
10: CD-ROM
(disable with "--vsys 0 --unit 10 --ignore")
11: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 11 --ignore")
12: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 12 --ignore")
13: SATA controller, type AHCI
(disable with "--vsys 0 --unit 13 --ignore")
14: Hard disk image: source image=ubuntu-disk001.vmdk, target path=ubuntu-disk001.vmdk, controller=13;port=0
(change target path with "--vsys 0 --unit 14 --disk path";
change controller with "--vsys 0 --unit 14 --controller <index>";
change controller port with "--vsys 0 --unit 14 --port <n>";
disable with "--vsys 0 --unit 14 --ignore")
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully imported the appliance. [09:16:44][Documents][agarcia@agarcia]-$ vagrant package --base "ubuntu" --output ubuntu.box
==> ubuntu: Exporting VM...
==> ubuntu: Compressing package to: /home/agarcia/Documents/ubuntu.box
[09:28:17][Documents][agarcia@agarcia]-$ vagrant box add ubuntu.box ubuntu.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'ubuntu.box' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/agarcia/Documents/ubuntu.box
==> box: Successfully added box 'ubuntu.box' (v0) for '(amd64)'!
Debian
[09:23:06][Documents][agarcia@localhost]-$ VBoxManage import mvdebian.ova
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/agarcia/Documents/mvdebian.ova...
OK.
Disks:
vmdisk1 21474836480 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized mvdebian-disk001.vmdk -1 -1
Virtual system 0:
0: Suggested OS type: "Debian_64"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "mvdebian"
(change with "--vsys 0 --vmname <name>")
2: Suggested VM group "/"
(change with "--vsys 0 --group <group>")
3: Suggested VM settings file name "/home/agarcia/VirtualBox VMs/mvdebian/mvdebian.vbox"
(change with "--vsys 0 --settingsfile <filename>")
4: Suggested VM base folder "/home/agarcia/VirtualBox VMs"
(change with "--vsys 0 --basefolder <path>")
5: Number of CPUs: 1
(change with "--vsys 0 --cpus <n>")
6: Guest memory: 2048 MB
(change with "--vsys 0 --memory <MB>")
7: Sound card (appliance expects "", can change on import)
(disable with "--vsys 0 --unit 7 --ignore")
8: USB controller
(disable with "--vsys 0 --unit 8 --ignore")
9: Network adapter: orig Bridged, config 3, extra slot=0;type=Bridged
10: CD-ROM
(disable with "--vsys 0 --unit 10 --ignore")
11: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 11 --ignore")
12: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 12 --ignore")
13: SATA controller, type AHCI
(disable with "--vsys 0 --unit 13 --ignore")
14: Hard disk image: source image=mvdebian-disk001.vmdk, target path=mvdebian-disk001.vmdk, controller=13;port=0
(change target path with "--vsys 0 --unit 14 --disk path";
change controller with "--vsys 0 --unit 14 --controller <index>";
change controller port with "--vsys 0 --unit 14 --port <n>";
disable with "--vsys 0 --unit 14 --ignore")
0%...10%...20%...30%...40%...50%...60%...70%...80 [09:28:44][Documents][agarcia@localhost]-$ vagrant package --base "mvdebian" --output debian.box
==> mvdebian: Exporting VM...
==> mvdebian: Compressing package to: /home/agarcia/Documents/debian.box
[09:31:24][Documents][agarcia@localhost]-$ vagrant box add debian.box debian.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'debian.box' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/agarcia/Documents/debian.box
==> box: Successfully added box 'debian.box' (v0) for '(amd64)'!
Rocky
[09:33:29][Documents][agarcia@localhost]-$ VBoxManage import rocky.ova
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/agarcia/Documents/rocky.ova...
OK.
Disks:
vmdisk1 21474836480 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized rocky1-disk001.vmdk -1 -1
Virtual system 0:
0: Suggested OS type: "RedHat_64"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "rocky1"
(change with "--vsys 0 --vmname <name>")
2: Suggested VM group "/"
(change with "--vsys 0 --group <group>")
3: Suggested VM settings file name "/home/agarcia/VirtualBox VMs/rocky1/rocky1.vbox"
(change with "--vsys 0 --settingsfile <filename>")
4: Suggested VM base folder "/home/agarcia/VirtualBox VMs"
(change with "--vsys 0 --basefolder <path>")
5: Number of CPUs: 2
(change with "--vsys 0 --cpus <n>")
6: Guest memory: 2048 MB
(change with "--vsys 0 --memory <MB>")
7: Sound card (appliance expects "", can change on import)
(disable with "--vsys 0 --unit 7 --ignore")
8: USB controller
(disable with "--vsys 0 --unit 8 --ignore")
9: Network adapter: orig Bridged, config 3, extra slot=0;type=Bridged
10: Network adapter: orig Bridged, config 3, extra slot=1;type=Bridged
11: CD-ROM
(disable with "--vsys 0 --unit 11 --ignore")
12: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 12 --ignore")
13: IDE controller, type PIIX4
(disable with "--vsys 0 --unit 13 --ignore")
14: SATA controller, type AHCI
(disable with "--vsys 0 --unit 14 --ignore")
15: Hard disk image: source image=rocky1-disk001.vmdk, target path=rocky1-disk001.vmdk, controller=14;port=0
(change target path with "--vsys 0 --unit 15 --disk path";
change controller with "--vsys 0 --unit 15 --controller <index>";
change controller port with "--vsys 0 --unit 15 --port <n>";
disable with "--vsys 0 --unit 15 --ignore")
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully imported the appliance.
[09:35:12][Documents][agarcia@localhost]-$ vagrant package --base "rocky1" --output rocky.box
==> rocky1: Exporting VM...
==> rocky1: Compressing package to: /home/agarcia/Documents/rocky.box
[09:36:46][Documents][agarcia@localhost]-$ vagrant box add rocky.box rocky.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'rocky.box' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/agarcia/Documents/rocky.box
==> box: Successfully added box 'rocky.box' (v0) for '(amd64)'!
[09:36:46][Documents][agarcia@localhost]-$ vagrant box add rocky.box rocky.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'rocky.box' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/agarcia/Documents/rocky.box
==> box: Successfully added box 'rocky.box' (v0) for '(amd64)'!
W10 Client
[09:42:06][Documents][agarcia@localhost]-$ VBoxManage import w10client.ova
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/agarcia/Documents/w10client.ova...
OK.
Disks:
vmdisk1 53687091200 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized w10 client-disk001.vmdk -1 -1
Virtual system 0:
0: Suggested OS type: "Windows10_64"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "w10 client"
(change with "--vsys 0 --vmname <name>")
2: Suggested VM group "/"
(change with "--vsys 0 --group <group>")
3: Suggested VM settings file name "/home/agarcia/VirtualBox VMs/w10 client/w10 client.vbox"
(change with "--vsys 0 --settingsfile <filename>")
4: Suggested VM base folder "/home/agarcia/VirtualBox VMs"
(change with "--vsys 0 --basefolder <path>")
5: Number of CPUs: 1
(change with "--vsys 0 --cpus <n>")
6: Guest memory: 2048 MB
(change with "--vsys 0 --memory <MB>")
7: Sound card (appliance expects "", can change on import)
(disable with "--vsys 0 --unit 7 --ignore")
8: USB controller
(disable with "--vsys 0 --unit 8 --ignore")
9: Network adapter: orig Bridged, config 3, extra slot=0;type=Bridged
10: CD-ROM
(disable with "--vsys 0 --unit 10 --ignore")
11: SATA controller, type AHCI
(disable with "--vsys 0 --unit 11 --ignore")
12: Hard disk image: source image=w10 client-disk001.vmdk, target path=w10 client-disk001.vmdk, controller=11;port=0
(change target path with "--vsys 0 --unit 12 --disk path";
change controller with "--vsys 0 --unit 12 --controller <index>";
change controller port with "--vsys 0 --unit 12 --port <n>";
disable with "--vsys 0 --unit 12 --ignore")
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully imported the appliance.
[08:14:54][Documents][agarcia@agarcia]-$ vagrant package --base "w10 client" --output w10client.box
==> w10 client: Exporting VM...
==> w10 client: Compressing package to: /home/agarcia/Documents/w10client.box
[08:30:57][Documents][agarcia@agarcia]-$ vagrant box add w10client.box w10client.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'w10client.box' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/agarcia/Documents/w10client.box
==> box: Successfully added box 'w10client.box' (v0) for '(amd64)'!
w10 2k19
[08:35:10][Documents][agarcia@agarcia]-$ VBoxManage import w2k19.ova
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/agarcia/Documents/w2k19.ova...
OK.
Disks:
vmdisk1 85899345920 -1 http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized w 2k19-disk001.vmdk -1 -1
Virtual system 0:
0: Suggested OS type: "Windows11_64"
(change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
1: Suggested VM name "w 2k19"
(change with "--vsys 0 --vmname <name>")
2: Suggested VM group "/"
(change with "--vsys 0 --group <group>")
3: Suggested VM settings file name "/home/agarcia/VirtualBox VMs/w 2k19/w 2k19.vbox"
(change with "--vsys 0 --settingsfile <filename>")
4: Suggested VM base folder "/home/agarcia/VirtualBox VMs"
(change with "--vsys 0 --basefolder <path>")
5: Number of CPUs: 2
(change with "--vsys 0 --cpus <n>")
6: Guest memory: 4096 MB
(change with "--vsys 0 --memory <MB>")
8: Sound card (appliance expects "", can change on import)
(disable with "--vsys 0 --unit 8 --ignore")
9: USB controller
(disable with "--vsys 0 --unit 9 --ignore")
10: Network adapter: orig Bridged, config 3, extra slot=0;type=Bridged
11: CD-ROM
(disable with "--vsys 0 --unit 11 --ignore")
12: SATA controller, type AHCI
(disable with "--vsys 0 --unit 12 --ignore")
13: Hard disk image: source image=w 2k19-disk001.vmdk, target path=w 2k19-disk001.vmdk, controller=12;port=0
(change target path with "--vsys 0 --unit 13 --disk path";
change controller with "--vsys 0 --unit 13 --controller <index>";
change controller port with "--vsys 0 --unit 13 --port <n>";
disable with "--vsys 0 --unit 13 --ignore")
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully imported the appliance.
[08:42:48][Documents][agarcia@agarcia]-$ vagrant package --base "w 2k19" --output w2k19.box
==> w 2k19: Exporting VM...
==> w 2k19: Compressing package to: /home/agarcia/Documents/w2k19.box [09:01:13][Documents][agarcia@agarcia]-$ vagrant box add w2k19.box w2k19.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'w2k19.box' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/agarcia/Documents/w2k19.box
==> box: Successfully added box 'w2k19.box' (v0) for '(amd64)'!
[09:30:12][Box][agarcia@agarcia]-$ ls
debian.box rocky.box ubuntu.box w10client.box w2k19.box
[08:25:59][box][agarcia@agarcia]-$ vagrant box list
debian (virtualbox, 0, (amd64))
rocky (virtualbox, 0, (amd64))
ubuntu (virtualbox, 0, (amd64))
w10 (virtualbox, 0, (amd64))
w2k19 (virtualbox, 0, (amd64))
Compartir amb els altres membres del grup
Hector
[09:20:32][Documents][agarcia@agarcia]-$ scp -r Box hbarbera@192.168.100.194:/home/hbarbera/Documents/
ubuntu.box 100% 3079MB 99.2MB/s 00:31
rocky.box 100% 1066MB 103.0MB/s 00:10
w10client.box 100% 8697MB 102.1MB/s 01:25
w2k19.box 100% 9548MB 101.3MB/s 01:34
debian.box 100% 1204MB 102.4MB/s 00:11 Ara el que farem amb connexió SSH al company, afegirem els boxs passats a la seva llista de boxs de vagran .
[09:16:27][~][hbarbera@hbarbera]-$ cd /home/hbarbera/Documents/
[09:16:33][Documents][hbarbera@hbarbera]-$ cd Box/
[09:16:35][Box][hbarbera@hbarbera]-$ ls
debian.box rocky.box ubuntu.box w10client.box w2k19.box
[09:16:36][Box][hbarbera@hbarbera]-$ vagrant box add debian debian.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'debian' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/hbarbera/Documents/Box/debian.box
==> box: Successfully added box 'debian' (v0) for '(amd64)'!
[09:17:02][Box][hbarbera@hbarbera]-$ vagrant box add rocky rocky.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'rocky' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/hbarbera/Documents/Box/rocky.box
==> box: Successfully added box 'rocky' (v0) for '(amd64)'!
[09:17:19][Box][hbarbera@hbarbera]-$ vagrant box add ubuntu ubuntu.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'ubuntu' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/hbarbera/Documents/Box/ubuntu.box
==> box: Successfully added box 'ubuntu' (v0) for '(amd64)'!
[09:18:02][Box][hbarbera@hbarbera]-$ vagrant box add w10client w10client.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'w10client' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/hbarbera/Documents/Box/w10client.box
==> box: Successfully added box 'w10client' (v0) for '(amd64)'!
[09:19:42][Box][hbarbera@hbarbera]-$ vagrant box add w2k19 w2k19.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'w2k19' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/hbarbera/Documents/Box/w2k19.box
==> box: Successfully added box 'w2k19' (v0) for '(amd64)'!
Adrian
[09:20:32][Documents][agarcia@agarcia]-$ scp -r Box hbarbera@192.168.100.194:/home/alopez/Documents/
ubuntu.box 100% 3079MB 99.2MB/s 00:31
rocky.box 100% 1066MB 103.0MB/s 00:10
w10client.box 100% 8697MB 102.1MB/s 01:25
w2k19.box 100% 9548MB 101.3MB/s 01:34
debian.box 100% 1204MB 102.4MB/s 00:11 Ara el que farem amb connexió SSH al company, afegirem els boxs passats a la seva llista de boxs de vagran .
[09:16:27][~][alopez@alopez]-$ cd /home/alopez/Documents/
[09:16:33][Documents][alopez@alopez]-$ cd Box/
[09:16:35][Box][alopez@alopez]-$ ls
debian.box rocky.box ubuntu.box w10client.box w2k19.box
[09:16:36][Box][alopez@alopez]-$ vagrant box add debian debian.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'debian' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/alopez/Documents/Box/debian.box
==> box: Successfully added box 'debian' (v0) for '(amd64)'!
[09:17:02][Box][alopez@alopez]-$ vagrant box add rocky rocky.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'rocky' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/alopez/Documents/Box/rocky.box
==> box: Successfully added box 'rocky' (v0) for '(amd64)'!
[09:17:19][Box][alopez@alopez]-$ vagrant box add ubuntu ubuntu.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'ubuntu' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/alopez/Documents/Box/ubuntu.box
==> box: Successfully added box 'ubuntu' (v0) for '(amd64)'!
[09:18:02][Box][alopez@alopez]-$ vagrant box add w10client w10client.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'w10client' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/alopez/Documents/Box/w10client.box
==> box: Successfully added box 'w10client' (v0) for '(amd64)'!
[09:19:42][Box][alopez@alopez]-$ vagrant box add w2k19 w2k19.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'w2k19' (v0) for provider: (amd64)
box: Unpacking necessary files from: file:///home/alopez/Documents/Box/w2k19.box
==> box: Successfully added box 'w2k19' (v0) for '(amd64)'!