Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

adding lvm with cinder volumes ptable #45

Merged
merged 1 commit into from Jul 11, 2014
Merged

adding lvm with cinder volumes ptable #45

merged 1 commit into from Jul 11, 2014

Conversation

radez
Copy link
Contributor

@radez radez commented Jul 10, 2014

No description provided.

@radez
Copy link
Contributor Author

radez commented Jul 10, 2014

Marek we may need to work on the assign_partition_table method, let me know what you think about the way I did it.

@sseago
Copy link
Contributor

sseago commented Jul 11, 2014

Related staypuft UI PR is:
theforeman/staypuft#206

rtn_ptable = nil
ptable_names.each do |ptable_name|
ptable = @foreman.partition_table.first! %Q(name ~ "#{ptable_name}*")
rtn_ptable = ptable if ptable_names.first == ptable['name']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd assign explicit value in if os['family'], if I understand it correctly, rtn_ptable is always the first of ptable_names
if I'm mistaken, could you please elaborate a meaning of rtn_ptable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the return value of this method is used to set the ptable for the base host group. so rtn_table is the specific ptable that should be default, ie kickstart default

ares added a commit that referenced this pull request Jul 11, 2014
adding lvm with cinder volumes ptable
@ares ares merged commit ccf511f into theforeman:master Jul 11, 2014
@radez radez deleted the cinder-volumes branch July 16, 2014 13:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants