Skip to content

Commit 167b036

Browse files
Alena ProkharchykAlena Prokharchyk
authored andcommitted
bug 14305: set name for the guest network in basic zone
status 14305: resolved fixed
1 parent 0b28b02 commit 167b036

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎setup/db/db/schema-2214to30.sql‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,3 +738,6 @@ INSERT IGNORE INTO `cloud`.`guest_os` (id, category_id, display_name) VALUES (15
738738
INSERT IGNORE INTO `cloud`.`guest_os` (id, category_id, display_name) VALUES (157, 10, 'Ubuntu 10.10 (64-bit)');
739739

740740
UPDATE `cloud`.`guest_os` SET category_id=4 where id=131;
741+
742+
UPDATE `cloud`.`networks` n SET n.name=(CONCAT('guestNetworkForBasicZone_', (SELECT name from `cloud`.`data_center` d where d.id=n.data_center_id AND d.networktype='Basic'))) where n.name is null and n.traffic_type='Guest';
743+
UPDATE `cloud`.`networks` n SET n.display_text=(CONCAT('guestNetworkForBasicZone_', (SELECT name from `cloud`.`data_center` d where d.id=n.data_center_id AND d.networktype='Basic'))) where n.display_text is null and n.traffic_type='Guest';

0 commit comments

Comments
 (0)