Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
159e2b77
Commit
159e2b77
authored
Mar 11, 2003
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add disktype slot to node_types table for Mike.
parent
f2d0fa3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
sql/database-create.sql
sql/database-create.sql
+1
-0
sql/database-migrate.txt
sql/database-migrate.txt
+19
-4
No files found.
sql/database-create.sql
View file @
159e2b77
...
...
@@ -570,6 +570,7 @@ CREATE TABLE node_types (
delay_capacity
tinyint
(
4
)
NOT
NULL
default
'0'
,
virtnode_capacity
tinyint
(
4
)
NOT
NULL
default
'0'
,
control_iface
text
,
disktype
enum
(
'ad'
,
'da'
,
'ar'
)
default
NULL
,
delay_osid
varchar
(
35
)
default
NULL
,
pxe_boot_path
text
,
isvirtnode
tinyint
(
4
)
NOT
NULL
default
'0'
,
...
...
sql/database-migrate.txt
View file @
159e2b77
...
...
@@ -6,7 +6,22 @@
# Please indicate the CVS revision number your instructions refer to.
#
1.112 - Made it illegal to put NULL values in interfaces.iface . Would be a
good idea to run:
select * from interfaces where iface is null;
first, to make sure you don't have any!
1.112: Made it illegal to put NULL values in interfaces.iface.
Run this first to make sure you don't have any (fix if you
do).
select * from interfaces where iface is null;
1.113: Add disktype to node_types for Mike:
alter table node_types add disktype enum('ad','da','ar') \
default NULL after control_iface;
Used by frisbee/imagezip. Locally, changed these types:
update node_types set disktype='ar' where type='pc600';
update node_types set disktype='ar' where type='pc850';
update node_types set disktype='ar' where type='pc1500';
update node_types set disktype='ar' where type='pcL440GX';
update node_types set disktype='ar' where type='pc2000';
update node_types set disktype='ar' where type='pc601';
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment