stepping-stone / node-integration

The FOSS-Cloud's node configuration scripts
Other
0 stars 0 forks source link

Extended vm-manager provisioning to include storage configuration for direct-gluster #13

Open dev-zero opened 10 years ago

dev-zero commented 10 years ago

The following code shows an entry for a live system:

            'sstSourceName' => array(
                'vm-persistent' => array('/var/virtualization', 'gv-tier1-vm-01'), // [0] = search string, [1] = replace string
                'vm-templates' => array('/var/virtualization', 'gv-tier2-vm-01'),
                'vm-dynamic' => array('/var/virtualization', 'gv-tier1-vm-01'),
            ),
            'sstSourceHostName' => array(
                'vm-persistent' => '10.121.0.8',
                'vm-templates' => '10.121.0.10',
                'vm-dynamic' => '10.121.0.8',
            ),

Since the current installer does not include the case for multiple storage backends, the entries for vm-{persistent,templates,dynamic} will all look the same... but they should be at least correct.